p[] instead of p^

This commit is contained in:
Araq 2011-04-11 23:28:53 +02:00
commit 46c41e4369
32 changed files with 242 additions and 346 deletions

View file

@ -169,7 +169,7 @@ proc CommandScan(filename: string) =
new(tok)
openLexer(L, f, stream)
while true:
rawGetTok(L, tok^)
rawGetTok(L, tok[])
PrintTok(tok)
if tok.tokType == tkEof: break
CloseLexer(L)