new parser works

This commit is contained in:
Araq 2013-04-20 18:46:08 +02:00
commit 03764f0aba
4 changed files with 66 additions and 39 deletions

View file

@ -797,6 +797,7 @@ proc rawGetTok(L: var TLexer, tok: var TToken) =
getOperator(L, tok)
elif c == lexbase.EndOfFile:
tok.toktype = tkEof
tok.indent = 0
else:
tok.literal = $c
tok.tokType = tkInvalid