new compiler feature: --expandMacro

This commit is contained in:
Araq 2019-05-29 20:47:28 +02:00
commit 9ecb1aae80
7 changed files with 34 additions and 4 deletions

View file

@ -271,6 +271,9 @@ proc enumToString*(enums: openArray[enum]): string =
- The `--hotCodeReloading` has been implemented for the native targets.
The compiler also provides a new more flexible API for handling the
hot code reloading events in the code.
- The compiler nows supports a ``--expandMacro:macroNameHere`` switch
for easy introspection into what a macro expands into.
### Bugfixes