summary refs log tree commit diff stats
path: root/compiler/wordrecg.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-05 15:45:30 +0200
committerGitHub <noreply@github.com>2016-07-05 15:45:30 +0200
commit689d3f75cf2438440b27816fc0be21ff15d9b9b2 (patch)
treea650a503ff245ab9fa2081031fab03a03666e73e /compiler/wordrecg.nim
parent5f9da6b2ae137feb762c149ed5a7e0eb0f23a17d (diff)
parent11730e6c3b468621258f99539284d75fecafe276 (diff)
downloadNim-689d3f75cf2438440b27816fc0be21ff15d9b9b2.tar.gz
Merge pull request #4445 from Jeff-Ciesielski/jeffc/define_assignments
Add the ability to pass a value with the -d flag
Diffstat (limited to 'compiler/wordrecg.nim')
-rw-r--r--compiler/wordrecg.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/wordrecg.nim b/compiler/wordrecg.nim
index 3e0e05a94..b5ffd51c2 100644
--- a/compiler/wordrecg.nim
+++ b/compiler/wordrecg.nim
@@ -36,6 +36,7 @@ type
     wColon, wColonColon, wEquals, wDot, wDotDot,
     wStar, wMinus,
     wMagic, wThread, wFinal, wProfiler, wObjChecks,
+    wIntDefine, wStrDefine,
 
     wDestroy,
 
@@ -121,7 +122,7 @@ const
 
     ":", "::", "=", ".", "..",
     "*", "-",
-    "magic", "thread", "final", "profiler", "objchecks",
+    "magic", "thread", "final", "profiler", "objchecks", "intdefine", "strdefine",
 
     "destroy",