summary refs log tree commit diff stats
path: root/tests/pragmas/tcustom_pragma.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix astdef typ deref (#10245)Alexander Ivanov2019-04-051-2/+11
|
* Prevent crash on pragma templates w/ generics (#10685)LemonBoy2019-02-181-0/+7
| | | | | | | | | * Prevent crash on pragma templates w/ generics * Remove incorrect call to pragma reconversion `semOverloadedCall` may return a node with more elements than the original nkCall node had (implicit and/or explicit generics).
* Misc macro things (#10612)LemonBoy2019-02-091-1/+1
| | | | | | | | | | | | * Misc cleanup in macro code Generate error messages using `error` instead of `assert`. Fixes #10574 * Fix crash with hasCustomPragma on quoted fields Use the `$` operator instead of reaching for the `strVal` field directly
* Fix getCustomPragmaVal on `var` fieldsLemonBoy2019-02-061-0/+5
|
* Fixed getCustomPragmaVal to allow multiple fields in custom annotations (#10289)Ico Doornekamp2019-01-181-0/+9
|
* add custom pragma support for var and let symbols (#9582)jcosborn2019-01-071-6/+29
| | | | | | * add custom pragma support for var and let symbols * updated changelog for custom pragmas on var and let symbols * add oldast switch for backwards compatibility
* add testAndrii Riabushenko2018-12-111-0/+22
|
* Bugfix: custom pragmas were not working on public fieldsZahary Karadjov2018-09-171-1/+1
|
* fixes #8371, macros.hasCustomPragma doesn't crash anymore (#8378)andri lim2018-07-201-0/+20
| | | | | | * fixes #8371, macros.hasCustomPragma doesn't crash anymore * fix macros.hasCustomPragma
* Custom pragmas in proc types (#8205)cooldome2018-07-091-1/+9
|
* Fix use of custom pragmas in generic procs (#8165)LemonBoy2018-07-011-1/+9
| | | Fixes #7626
* hasCustomPragma/getCustomPragmaVal: small fix (#7650)RSDuck2018-04-191-1/+9
| | | | | | | | * fix hasCustomPragma/getCustomPragmaVal for types without pragma * fix pragma on pointer test * removed trailing spaces
* fixes #7451 (#7575)RSDuck2018-04-141-11/+90
|
* Custom pragmas in procs bug fix (#7086)cooldome2018-01-181-0/+10
|
* Implement custom annotations (#6987)cooldome2018-01-091-0/+43
d='n328' href='#n328'>328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390