diff options
author | Zahary Karadjov <zahary@gmail.com> | 2014-02-15 17:41:35 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2014-02-15 17:41:35 +0200 |
commit | 492fa86638f20c3230d9086296b9d1c76ae66916 (patch) | |
tree | 9b22185affba6b0717e2ab7940e48dcf2129859f /compiler/parser.nim | |
parent | a158053ae9d04ebd882b2c973ddf4a3dd7d4efe8 (diff) | |
download | Nim-492fa86638f20c3230d9086296b9d1c76ae66916.tar.gz |
the delegator pragma becomes a set of dot operators
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r-- | compiler/parser.nim | 2 |
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: |