summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge branch 'devel' into coroutinesrku2015-08-201-271/+273
|\
| * fixes #3171Araq2015-08-021-271/+273
| |
* | {.compile.} pragma accepts paths relative to file pragma is in.rku2015-07-311-0/+2
|/
* small steps for making --symbolFiles:on work againAraq2015-07-201-1/+2
|
* Introduce {.noRewrite.} expr pragma disabling TRAdam Strzelecki2015-06-021-1/+3
| | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab"
* implements .goto support for variablesAraq2015-04-191-1/+6
|
* Get rid of deprecation warningsdef2015-04-071-3/+3
|
* Merge pull request #2428 from arnetheduck/comp-lib-ropesAndreas Rumpf2015-04-061-1/+1
|\ | | | | Comp lib ropes
| * compiler_ropes: ropeToStr -> $Jacek Sieka2015-04-011-1/+1
| |
* | better error message for implicit pragmasAraq2015-04-041-0/+2
|/
* 'constructor' pragma for C++ supportAraq2015-03-181-2/+5
|
* don't generate memset calls for C++ objectsAraq2015-03-181-129/+129
|
* better handling of gcsafety with --threadAnalysis:offAraq2015-02-121-5/+4
|
* nimsuggest improvementsAraq2015-01-301-1/+3
|
* nimsuggest: first versionAraq2015-01-271-6/+0
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* cleaned up os.nim; docgen improvementsAraq2014-12-211-2/+2
|
* implemented 'experimental' switchAraq2014-12-051-1/+7
|
* user defined pragmas work for generics instantiated in different modulesAraq2014-11-061-3/+11
|
* implements #1588Araq2014-10-261-0/+3
|
* implemented mixed mode codegenAraq2014-10-031-0/+5
|
* better lock level handlingAraq2014-10-021-8/+12
|
* implemented locking levels; still incompleteAraq2014-09-271-6/+6
|
* implemented 'guard' annotationAraq2014-09-211-33/+53
|
* the big renamefest: first stepsAraq2014-08-221-11/+28
|
* progress on deepCopyAraq2014-08-011-6/+8
|
* Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawnAraq2014-06-061-5/+6
|\
| * Promises are now refsAraq2014-06-051-5/+6
| |
* | Renamed considerAccents to considerQuotedIdentClay Sweetser2014-05-261-1/+1
| |
* | Renamed 'considerAcc' to 'considerAccents' for clarityClay Sweetser2014-05-241-1/+1
|/ | | | | Added documentation string to 'considerAccents' Modified renderParamType's assertion to allow nkAcc nodes.
* reintroduce thread analysis but disable it for backwards compatibilityAraq2014-04-201-5/+6
|
* made large parts of the stdlib gcsafeAraq2014-04-201-2/+2
|
* New concurrency model: next stepsAraq2014-04-191-4/+31
|
* disable extern name checking as it breaks building of nimrtl.dllAraq2014-03-301-2/+3
|
* fixes a typoAraq2014-03-271-4/+4
|