fix comment parsing

This commit is contained in:
2023-05-20 16:20:36 -07:00
parent 255e21f08a
commit ec3cf04db4
4 changed files with 5 additions and 4 deletions

View File

@@ -26,8 +26,8 @@ rawTokens : Tokenizer (Token Kind)
rawTokens
= match (alpha <+> many identMore) checkKW
<|> match (some digit) (Tok Number)
<|> match (some opChar) (\s => Tok Oper s)
<|> match (lineComment (exact "--")) (Tok Space)
<|> match (some opChar) (\s => Tok Oper s)
<|> match symbol (Tok Symbol)
<|> match spaces (Tok Space)