make tests green again

This commit is contained in:
Araq 2018-05-14 21:38:18 +02:00
commit 02b78d3f94
20 changed files with 33 additions and 33 deletions

View file

@ -183,7 +183,7 @@ proc eat(p: var TParser, tokType: TTokType) =
getTok(p)
else:
lexMessage(p.lex, errGenerated,
"expected " & TokTypeToStr[tokType] & ", but got: " & prettyTok(p.tok))
"expected: '" & TokTypeToStr[tokType] & "', but got: '" & prettyTok(p.tok) & "'")
proc parLineInfo(p: TParser): TLineInfo =
## Retrieve the line information associated with the parser's current state.