implemented 'let' statement
This commit is contained in:
parent
31a994cc10
commit
7fcbdc6d42
33 changed files with 169 additions and 103 deletions
|
|
@ -666,7 +666,7 @@ proc genStmts(p: BProc, t: PNode) =
|
|||
of nkBlockStmt: genBlock(p, t, a)
|
||||
of nkIfStmt: genIfStmt(p, t)
|
||||
of nkWhileStmt: genWhileStmt(p, t)
|
||||
of nkVarSection: genVarStmt(p, t)
|
||||
of nkVarSection, nkLetSection: genVarStmt(p, t)
|
||||
of nkConstSection: genConstStmt(p, t)
|
||||
of nkForStmt: internalError(t.info, "for statement not eliminated")
|
||||
of nkCaseStmt: genCaseStmt(p, t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue