summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
Commit message (Collapse)AuthorAgeFilesLines
* improve error messages quality for '.push: raises []'Araq2019-01-131-0/+7
|
* Cleanup comesFromPush logic (#10278)Neelesh Chandola2019-01-111-8/+1
|
* fixes #10216 (#10270)Andreas Rumpf2019-01-111-8/+11
|
* {.deprecated: msg.} now works for vars and lets (#10234)Neelesh Chandola2019-01-081-1/+1
|
* Deprecate gc v2 (#10151)Neelesh Chandola2019-01-011-6/+6
| | | | | | * Deprecate gc v2 * warnDeprecated now has custom messages
* Deprecated pragma is now supported on enum fields (#10113)Neelesh Chandola2018-12-301-0/+1
| | | | | | * {.deprecated.} pragma is now supported for enum fields * Add tests * Simplify code
* {.push raises: [].} is now ignored for vars/lets/consts (#10026)Neelesh Chandola2018-12-301-6/+13
|
* custom pragmas in pragma blocksAndrii Riabushenko2018-12-111-2/+2
|
* fixes #9889, fixes #9886Araq2018-12-081-1/+1
|
* enables .raises: [] via a .push (#9834) [backport]Andreas Rumpf2018-12-011-1/+8
|
* new minor language feature: .noSideEffect blocks like .gcsafe blocksAndreas Rumpf2018-11-271-3/+4
|
* don't crash where there is an unknown statement pragma [backport]Andreas Rumpf2018-11-271-2/+5
|
* bitsize respected in size calculation. (#9756)Arne Döring2018-11-191-0/+2
|
* language cleanup: the .unchecked pragma is deadAraq2018-11-061-2/+4
|
* fixes #9358Andreas Rumpf2018-10-261-3/+3
|
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-141-1/+3
|
* Fix overload resolution for pragmas evaluation (#8902)LemonBoy2018-10-091-2/+2
| | | | Fixes #6448 Fixes #4384
* attempt to fix the .line pragmaAraq2018-10-031-12/+1
|
* compiler: fixes path generation for .line pragmaAraq2018-10-021-5/+9
|
* don't require an implementation for procs marked with .error; activate the ↵Araq2018-09-291-0/+1
| | | | move optimizer for destructors
* .error for routines now can also have a custom error message; improve error ↵Araq2018-09-251-2/+2
| | | | message for 'nil' strings
* Allow custom pragmas on more symbols againJörg Wollenschläger2018-09-221-1/+1
|
* Merge pull request #8875 from awr1/experimentalize-reorderAndreas Rumpf2018-09-151-4/+19
|\ | | | | Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
| * fixed stmtPragmas stuffawr2018-09-071-1/+1
| |
| * brought back pragmaNoForward, deprecatedawr2018-09-051-0/+15
| |
| * Fix mergeawr2018-09-041-22/+7
| |
| * Deny THIS experimental pragma specifically for non-toplevelawr2018-09-041-1/+5
| |
| * Merge branch 'devel' into experimentalize-reorderawr12018-09-041-7/+30
| |\
| * | transformed {.reorder: on.} into {.experimental: codeReordering.}, added testsawr2018-09-041-8/+5
| | |
* | | make tcompilerapi green, don't assue projectPath existsAraq2018-09-141-5/+8
| | |
* | | better file handling for .line directivesAraq2018-09-141-1/+3
| | |
* | | compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-30/+19
| | | | | | | | | | | | between modules
* | | Allow wCodegenDecl on lambdas (#8892)LemonBoy2018-09-071-1/+1
| |/ |/|
* | allow .experimental in a .push/pop environment; refs #8676Araq2018-08-271-17/+22
| |
* | More checks for custom pragmas placement (#8765)LemonBoy2018-08-251-3/+6
| | | | | | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them.
* | Validate pragmas attached to for variables (#8749)LemonBoy2018-08-241-0/+1
|/ | | Fixes #8741
* More robust handling of deprecated pragmas (#8696)LemonBoy2018-08-211-2/+8
| | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867
* deprecate the .this pragmaAraq2018-08-091-0/+2
|
* Don't remove extension of source files twice, if filenames contain dotsJörg Wollenschläger2018-06-261-1/+1
|
* Fixed stacktrace/linetrace proc pragmas when appended by macro pragmaYuriy Glukhov2018-06-141-57/+72
|
* Allow stacktrace and linetrace pragmas on procsYuriy Glukhov2018-06-121-2/+2
|
* record cppdefine for incremental compilationAndreas Rumpf2018-06-101-0/+3
|
* implement passL and passC for the compilation cacheAndreas Rumpf2018-06-101-3/+8
|
* fixex merge conflictsAraq2018-06-081-0/+4
|\
| * Fixes #7982Yuriy Glukhov2018-06-071-0/+4
| |
* | incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-17/+36
| |
* | baby steps for incremental compilationAndreas Rumpf2018-05-301-2/+3
| |
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-6/+6
| | | | | | | | around explicitly
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-4/+4
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-3/+3
| |