mark Nim version with .intdefine
This commit is contained in:
parent
d72578b3dd
commit
49ad131fe2
1 changed files with 3 additions and 3 deletions
|
|
@ -1955,13 +1955,13 @@ const
|
||||||
## that you cannot compare a floating point value to this value
|
## that you cannot compare a floating point value to this value
|
||||||
## and expect a reasonable result - use the `classify` procedure
|
## and expect a reasonable result - use the `classify` procedure
|
||||||
## in the module ``math`` for checking for NaN.
|
## in the module ``math`` for checking for NaN.
|
||||||
NimMajor*: int = 0
|
NimMajor* {.intdefine.}: int = 0
|
||||||
## is the major number of Nim's version.
|
## is the major number of Nim's version.
|
||||||
|
|
||||||
NimMinor*: int = 17
|
NimMinor* {.intdefine.}: int = 17
|
||||||
## is the minor number of Nim's version.
|
## is the minor number of Nim's version.
|
||||||
|
|
||||||
NimPatch*: int = 3
|
NimPatch* {.intdefine.}: int = 3
|
||||||
## is the patch number of Nim's version.
|
## is the patch number of Nim's version.
|
||||||
|
|
||||||
NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch
|
NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue