diff options
author | Araq <rumpf_a@web.de> | 2011-04-11 23:28:53 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-11 23:28:53 +0200 |
commit | 46c41e43690cba9bc1caff6a994bb6915df8a1b7 (patch) | |
tree | c96be792eceb1d189cdb5bcff6e1a06f9b51e76c /rod/nimconf.nim | |
parent | 3d696c3da53e5c41d839d8265fbc94f1c64980bb (diff) | |
download | Nim-46c41e43690cba9bc1caff6a994bb6915df8a1b7.tar.gz |
p[] instead of p^
Diffstat (limited to 'rod/nimconf.nim')
-rwxr-xr-x | rod/nimconf.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rod/nimconf.nim b/rod/nimconf.nim index 231377978..c41417fb1 100755 --- a/rod/nimconf.nim +++ b/rod/nimconf.nim @@ -21,10 +21,10 @@ proc LoadSpecialConfig*(configfilename: string) proc ppGetTok(L: var TLexer, tok: PToken) = # simple filter - rawGetTok(L, tok^ ) + rawGetTok(L, tok[] ) while (tok.tokType == tkInd) or (tok.tokType == tkSad) or (tok.tokType == tkDed) or (tok.tokType == tkComment): - rawGetTok(L, tok^ ) + rawGetTok(L, tok[] ) proc parseExpr(L: var TLexer, tok: PToken): bool proc parseAtom(L: var TLexer, tok: PToken): bool = |