implemented the using statement
This commit is contained in:
parent
01ccb52a00
commit
b5d833b329
9 changed files with 53 additions and 11 deletions
|
|
@ -1775,6 +1775,7 @@ proc complexOrSimpleStmt(p: var TParser): PNode =
|
|||
of tkVar: result = parseSection(p, nkVarSection, parseVariable)
|
||||
of tkBind: result = parseBind(p, nkBindStmt)
|
||||
of tkMixin: result = parseBind(p, nkMixinStmt)
|
||||
of tkUsing: result = parseBind(p, nkUsingStmt)
|
||||
else: result = simpleStmt(p)
|
||||
|
||||
proc parseStmt(p: var TParser): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue