experimental support for preserving local variable names in the generated code

This commit is contained in:
Zahary Karadjov 2012-04-13 16:01:26 +03:00
commit f25c638dc4
6 changed files with 146 additions and 22 deletions

View file

@ -113,7 +113,9 @@ var
gKeepComments*: bool = true # whether the parser needs to keep comments
implicitImports*: seq[string] = @[] # modules that are to be implicitly imported
implicitIncludes*: seq[string] = @[] # modules that are to be implicitly included
const oKeepVariableNames* = true
proc mainCommandArg*: string =
## This is intended for commands like check or parse
## which will work on the main project file unless