ref(lexer): rename MathParen -> MathInline

This commit is contained in:
Primrose 2025-09-24 21:31:26 +08:00
parent f3b3b08919
commit 6ec47dad04
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 7 additions and 7 deletions

View file

@ -98,9 +98,9 @@ maths = do
, (1, 12, MathsBracketClose)
]
"\\(other maths\\)"
`shouldLexTo` [ (1, 1, MathsParenOpen)
`shouldLexTo` [ (1, 1, MathInlineOpen)
, (1, 3, Token "other maths")
, (1, 14, MathsParenClose)
, (1, 14, MathInlineClose)
]
escaping :: Expectation