standard filter supports multiple line expressions; better amd64 detection for mac os X
This commit is contained in:
parent
9cf4cf0299
commit
c065694598
3 changed files with 56 additions and 16 deletions
|
|
@ -720,7 +720,7 @@ const
|
|||
|
||||
proc compileOption*(option: string): bool {.
|
||||
magic: "CompileOption", noSideEffect.}
|
||||
## can be used to determine a on|off compile-time option. Example:
|
||||
## can be used to determine an on|off compile-time option. Example:
|
||||
##
|
||||
## .. code-block:: nimrod
|
||||
## when compileOption("floatchecks"):
|
||||
|
|
@ -735,7 +735,9 @@ proc compileOption*(option, arg: string): bool {.
|
|||
## echo "compiled with optimization for size and uses Boehm's GC"
|
||||
|
||||
include "system/inclrtl"
|
||||
include "system/cgprocs"
|
||||
|
||||
when not defined(ecmascript):
|
||||
include "system/cgprocs"
|
||||
|
||||
proc add *[T](x: var seq[T], y: T) {.magic: "AppendSeqElem", noSideEffect.}
|
||||
proc add *[T](x: var seq[T], y: openArray[T]) {.noSideEffect.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue