fix: ignore empty character literals
This commit is contained in:
parent
f3f4eba945
commit
9c9cc017df
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ private def tokenFnAux : ParserFn := fun c s =>
|
|||
let curr := input.get i
|
||||
if curr == '\"' then
|
||||
strLitFnAux i c (s.next input i)
|
||||
else if curr == '\'' then
|
||||
else if curr == '\'' && getNext input i != '\'' then
|
||||
charLitFnAux i c (s.next input i)
|
||||
else if curr.isDigit then
|
||||
numberFnAux c s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue