refactoring: C codegen with fewer global variables
This commit is contained in:
parent
862a32fe85
commit
ba38b83dd5
6 changed files with 79 additions and 78 deletions
|
|
@ -38,6 +38,7 @@ type
|
|||
# first module that included it
|
||||
importStack*: seq[int32] # The current import stack. Used for detecting recursive
|
||||
# module dependencies.
|
||||
backend*: RootRef # minor hack so that a backend can extend this easily
|
||||
|
||||
{.this: g.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue