summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
Commit message (Collapse)AuthorAgeFilesLines
* Custom pragmas in procs bug fix (#7086)cooldome2018-01-181-1/+0
|
* Implement custom annotations (#6987)cooldome2018-01-091-40/+72
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-12-271-0/+2
|\
| * Allow noreturn procs with void type (#6973)cooldome2017-12-271-1/+1
| |
| * Implement language feature #6885 (#6954)cooldome2017-12-241-0/+2
| |
* | introduce 'core' as an alias for 'compilerproc'Andreas Rumpf2017-12-271-5/+5
|/
* newruntime: removed old way of writing destructorsAraq2017-11-281-5/+1
|
* added a warning that the .deprecate statement is unreliable for routinesAndreas Rumpf2017-11-211-1/+2
|
* implemented undocumented '.liftLocals' featureAndreas Rumpf2017-11-021-1/+10
|
* deprecated unary '<'Andreas Rumpf2017-10-291-1/+1
|
* first implementation of package level types that allow forwarding across ↵Andreas Rumpf2017-10-281-2/+2
| | | | module boundaries
* backend preparations for incomplete/forwarded object typesAndreas Rumpf2017-10-281-1/+5
|
* distinguish between 'reorder' and 'noforward'Andreas Rumpf2017-07-261-4/+5
|
* fixes #5846Andreas Rumpf2017-06-291-2/+3
|
* proper error reporting for concepts and the introduction of the {.explain.} ↵Zahary Karadjov2017-03-241-2/+4
| | | | pragma
* fixes #5529; don't merge type visibility flagsAraq2017-03-141-1/+1
|
* removed compiler internal list implementation (#5371)Arne Döring2017-02-221-19/+16
|
* Enabled explicitly unknown lock levels (#5409)Fabian Keller2017-02-201-1/+7
| | | | | | | * enabled explicitly unknown lock levels * allowing "unknown" as locks pragma * added test case for locks pragma * updated docs on locks pragma
* new feature: .used pragma to suppress declared-but-not-used warningAraq2017-02-171-8/+12
|
* new name mangling rules for easier debuggingAndreas Rumpf2017-02-021-0/+1
|
* new name mangling scheme implementedAndreas Rumpf2017-02-021-2/+7
|
* fixes serious regression that was introduced in the handling of .compile pragmaAraq2017-01-281-2/+4
|
* .compile pragma supports patterns and actionsAraq2017-01-281-10/+22
|
* .compile pragma supports wildcardsAraq2017-01-271-4/+16
|
* implements {.gcsafe.} enforcement as a pragma blockAndreas Rumpf2017-01-181-4/+7
|
* fixes #3848Araq2016-12-301-1/+1
|
* Merge branch 'devel' into sighashesAraq2016-12-171-2/+16
|\
| * reworked emit pragma; fixes #4730Andreas Rumpf2016-12-171-2/+16
| |
* | more tests workAraq2016-12-021-1/+4
|/
* fixes the regressions introduced by fix for #5076Araq2016-11-301-0/+1
|
* first version of the new memory tracking featureAndreas Rumpf2016-11-211-1/+2
|
* fixes #4088Andreas Rumpf2016-09-111-1/+3
|
* MergedAraq2016-08-271-30/+25
|\
| * fixes #4579Andreas Rumpf2016-08-231-30/+25
| |
* | next steps in getting symbol files to work againAraq2016-08-161-0/+2
|/
* fixes a regression involving the .compile and .link pragmasAndreas Rumpf2016-08-051-1/+3
|
* fixes #4555Andreas Rumpf2016-08-021-2/+2
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-1/+4
|
* .base pragma works for generic methodsAndreas Rumpf2016-07-281-1/+1
|
* Fix typo. Remove unnecessary procJeff Ciesielski2016-07-051-1/+1
|
* Plumb {.intdefine.} and {.strdefine.} pragmas.Jeff Ciesielski2016-07-041-1/+6
| | | | Shorthand so that users won't need to use the .magic pragma
* fixes #1262Andreas Rumpf2016-05-311-10/+12
|
* Fix issue #4001: invalid pragma {. hint[]: off .}Andrei Formiga2016-05-271-0/+1
| | | | | | | | | | | | | | | The bug was in processNote, module pragmas. The code assumed that a nkBracketExpr AST node always had two children (without testing this), and tried to access elements with index 0 and 1 in the sons array of the nkBracketExpr node. The code that triggered the bug was just {. hint[]: off .} by itself in a module; in this case the nkBracketExpr has only one children in the sons array, so the code in processNote caused an out-of-bounds array access. This commit also adds a test to guarantee that this pragma is rejected, as is.
* fixes #3646Andreas Rumpf2016-04-041-2/+3
|
* first version of .partial objectsAndreas Rumpf2016-02-281-1/+10
|
* added experimental .this pragmaAndreas Rumpf2016-02-281-1/+6
|
* Dont warn about unused symbol if its used in emitYuriy Glukhov2016-02-151-0/+1
|
* added undocumented exportNims pragma for Nimscript supportAraq2015-10-031-7/+11
|
* implement bitsize pragma for bitfieldsAman Gupta2015-09-281-1/+6
|
* fixes #2590; methods now require a .base annotationAraq2015-09-061-1/+4
|