mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-31 04:29:02 +00:00
Merge pull request #4445 from Jeff-Ciesielski/jeffc/define_assignments
Add the ability to pass a value with the -d flag
This commit is contained in:
@@ -46,8 +46,14 @@ Library Additions
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
||||
- The ``-d/--define`` flag can now optionally take a value to be used
|
||||
by code at compile time.
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
||||
- Added ``{.intdefine.}`` and ``{.strdefine.}`` macros to make use of
|
||||
(optional) compile time defines.
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user