summary refs log tree commit diff stats
path: root/compiler/parser.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-02-15 17:41:35 +0200
committerZahary Karadjov <zahary@gmail.com>2014-02-15 17:41:35 +0200
commit492fa86638f20c3230d9086296b9d1c76ae66916 (patch)
tree9b22185affba6b0717e2ab7940e48dcf2129859f /compiler/parser.nim
parenta158053ae9d04ebd882b2c973ddf4a3dd7d4efe8 (diff)
downloadNim-492fa86638f20c3230d9086296b9d1c76ae66916.tar.gz
the delegator pragma becomes a set of dot operators
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r--compiler/parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim
index ff3324b47..5a5bfb574 100644
--- a/compiler/parser.nim
+++ b/compiler/parser.nim
@@ -281,7 +281,7 @@ proc parseSymbol(p: var TParser): PNode =
         add(result, newIdentNodeP(getIdent"{}", p))
         getTok(p)
         eat(p, tkCurlyRi)
-      of tokKeywordLow..tokKeywordHigh, tkSymbol, tkOpr, tkDotDot:
+      of tokKeywordLow..tokKeywordHigh, tkSymbol, tkOpr, tkDot, tkDotDot:
         add(result, newIdentNodeP(p.tok.ident, p))
         getTok(p)
       of tkIntLit..tkCharLit: