diff options
author | Araq <rumpf_a@web.de> | 2014-03-07 22:28:48 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-07 22:28:48 +0100 |
commit | dd216755ff61901eb0b08c56965f58fcabdf4a0e (patch) | |
tree | 56bbf3b8586fcbd7e79cfc008db3b8e05e4c3e2a /compiler/semgnrc.nim | |
parent | 91d842e1ec070a9ab7f883820bd6244526f5d622 (diff) | |
parent | 2cbe46daff73987d819ea0ca4bc6ada919d531d4 (diff) | |
download | Nim-dd216755ff61901eb0b08c56965f58fcabdf4a0e.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'compiler/semgnrc.nim')
-rw-r--r-- | compiler/semgnrc.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index b21d851c9..ffc1a43b2 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -42,7 +42,7 @@ proc semGenericStmtSymbol(c: PContext, n: PNode, s: PSym): PNode = of skUnknown: # Introduced in this pass! Leave it as an identifier. result = n - of skProc, skMethod, skIterator, skConverter: + of skProc, skMethod, skIterators, skConverter: result = symChoice(c, n, s, scOpen) of skTemplate: if macroToExpand(s): @@ -141,7 +141,7 @@ proc semGenericStmt(c: PContext, n: PNode, # symbol lookup ... of skUnknown, skParam: # Leave it as an identifier. - of skProc, skMethod, skIterator, skConverter: + of skProc, skMethod, skIterators, skConverter: result.sons[0] = symChoice(c, n.sons[0], s, scOption) first = 1 of skGenericParam: |