semExpr/semStmt merged
This commit is contained in:
parent
8c8400ea3a
commit
23c3af80f6
6 changed files with 187 additions and 166 deletions
22
compiler/sempass2.nim
Normal file
22
compiler/sempass2.nim
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
#
|
||||
# The Nimrod Compiler
|
||||
# (c) Copyright 2012 Andreas Rumpf
|
||||
#
|
||||
# See the file "copying.txt", included in this
|
||||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
# included from sem.nim
|
||||
|
||||
# Second semantic checking pass over the AST. Necessary because the old
|
||||
# way had some inherent problems. Performs:
|
||||
#
|
||||
# * procvar checks
|
||||
# * effect tracking
|
||||
# * closure analysis
|
||||
# * checks for invalid usages of compiletime magics
|
||||
# * checks for invalid usages of PNimNode
|
||||
# * later: will do an escape analysis for closures at least
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue