summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-08-08 16:57:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-08-08 16:57:06 +0200
commit44e7a7b6c2b37c0632cc030c0c90df4d92c50088 (patch)
tree683640188a37593732a11acd531632a283eb919a /doc
parentfda51b6ca2040ee3a6362291da872a7fbfe2b8e2 (diff)
downloadNim-44e7a7b6c2b37c0632cc030c0c90df4d92c50088.tar.gz
Lock semchecked ast for macros (#11883) [bugfix]
* reject to modify type checked AST
* add flag to back out
* Introduce legacy feature set.
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index 00459333d..f5359c0c0 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -120,6 +120,9 @@ Advanced options:
   --errorMax:N              stop compilation after N errors; 0 means unlimited
   --experimental:$1
                             enable experimental language feature
+  --legacy:$2
+                            enable obsolete/legacy language feature
+                            legacy code.
   --newruntime              use an alternative runtime that uses destructors
                             and that uses a shared heap via -d:useMalloc
   --profiler:on|off         enable profiling; requires `import nimprof`, and