Merge pull request #9937 from cooldome/pragmablock_custom_pragma
Language feature: implement custom pragmas in pragma blocks
This commit is contained in:
commit
d9ae9201c4
4 changed files with 32 additions and 9 deletions
|
|
@ -113,6 +113,9 @@ proc enumToString*(enums: openArray[enum]): string =
|
|||
- There is a new pragma block `noSideEffect` that works like
|
||||
the `gcsafe` pragma block.
|
||||
- added os.getCurrentProcessId()
|
||||
- User defined pragmas are now allowed in the pragma blocks
|
||||
- Pragma blocks are now longer eliminated from the typed AST tree to preserve
|
||||
pragmas for further analysis by macros
|
||||
|
||||
### Language changes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue