summary refs log tree commit diff stats
path: root/rod/nimconf.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-04-11 23:28:53 +0200
committerAraq <rumpf_a@web.de>2011-04-11 23:28:53 +0200
commit46c41e43690cba9bc1caff6a994bb6915df8a1b7 (patch)
treec96be792eceb1d189cdb5bcff6e1a06f9b51e76c /rod/nimconf.nim
parent3d696c3da53e5c41d839d8265fbc94f1c64980bb (diff)
downloadNim-46c41e43690cba9bc1caff6a994bb6915df8a1b7.tar.gz
p[] instead of p^
Diffstat (limited to 'rod/nimconf.nim')
-rwxr-xr-xrod/nimconf.nim4
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 =