summary refs log tree commit diff stats
path: root/compiler/msgs.nim
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-141-0/+8
|\
| * Fixes #5167 and related problems (#5475)zah2017-03-121-0/+6
| | | | | | | | | | | | | | | | | | This commit returns to a bit less strict checking of the number of macro arguments, because some old immediate macros rely on a behavior where even the arity of the macro is not being checked. It may be better if such macros are just declared to use varargs[expr], but this remains for another day.
| * don't allow casting to non-concrete types; fixes #5428 (#5502)zah2017-03-121-0/+2
| |
* | nimsuggest: more precise cursor trackingAraq2017-03-091-0/+5
|/
* nimsuggest: fixes nimsuggest bug #45; do not show suggestions in string ↵Araq2017-03-081-0/+2
| | | | literals or comments
* nimsuggest chk works for EPCAndreas Rumpf2017-03-031-6/+6
|
* nimsuggest: structured error reporting; EPC mode still failsAndreas Rumpf2017-03-031-19/+46
|
* C codegen: escape '?' because C has trigraphsAraq2017-02-271-1/+1
|
* Merge pull request #5317 from rokups/feature/coroutinesAndreas Rumpf2017-02-261-4/+0
|\ | | | | Coroutine improvements
| * Removed fasm support.Rokas Kupstys2017-02-201-4/+0
| |
* | big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-0/+9
|/
* nimsuggest improvement: don't die because of illformed ASTsAndreas Rumpf2017-02-061-2/+2
|
* Gramma change: casted or Casted to cast or Cast respectivelyjlp7652016-12-171-2/+2
| | | | past tense of cast is cast not casted :-)
* recursive modules are only detected to improve error messagesAndreas Rumpf2016-11-241-2/+1
|
* disallow recursive module dependenciesAraq2016-11-231-3/+2
|
* Fix few typosFederico Ceratto2016-10-171-1/+1
|
* disable warnUninit for --verbosity:2Andreas Rumpf2016-10-011-1/+1
|
* fixes #4580Andreas Rumpf2016-08-261-2/+2
|
* remove unused stuffJacek Sieka2016-08-091-2/+0
|
* compiler free of old expr/stmt metatypesAndreas Rumpf2016-07-301-5/+5
|
* --listCmd also needs to affect linking stepAndreas Rumpf2016-07-131-2/+1
|
* make tests green againAndreas Rumpf2016-07-101-0/+1
|
* Fix disabling hintProcessingEduardo Bart2016-06-201-2/+2
|
* adds --excessiveStackTrace:on|off flag for nimParashurama2016-06-111-1/+7
| | | | display absolute file path in error messages.
* fixes #3986Andreas Rumpf2016-06-061-1/+1
|
* fixes #2159Andreas Rumpf2016-05-281-1/+3
| | | | Hints and warnings are only emitted for the main package that is compiled
* Fixed deprecation warnings while Nim compiles.Hans Raaf2016-01-181-1/+1
| | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
* nimsuggest: added 'chk', 'outline' and 'highlight' featuresAraq2015-11-011-11/+20
|
* msgs: One msgWriteln with optional flagsAdam Strzelecki2015-10-221-18/+12
| | | | Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
* compiler/vm: Use stdout too in VM time echoAdam Strzelecki2015-10-161-0/+9
| | | | | Now VM time echo outputs to stdout too, same as compile time echo, rather using same handle as compiler diagnostics (stderr default).
* compiler/msgs: Default to stderr for diagnosticsAdam Strzelecki2015-10-161-17/+21
| | | | | | | | | | | | Previously we were defaulting to stdout for diagnostics, which could interfere with scripts or `nim c -r' programs outputting their results to stdout, possibly mixing their output with compiler messages. This change makes now Nim to be inline with other compilers emitting diagnostics to stderr. Also now --stdout option has proper meaning making all diagnostics to be sent to stdout instead. NOTE: Tester now calls compiler with --stdout.
* fixes #635Araq2015-10-071-8/+20
|
* Improved "Execution of an external program failed" message.Dominik Picheta2015-09-271-1/+1
|
* make the compiler less verboseAraq2015-09-141-0/+1
|
* Replace incorrect warning string.Matt Sullivan2015-09-051-1/+1
|
* fixes #2590; methods now require a .base annotationAraq2015-09-061-2/+2
|
* Merge branch 'devel' into coroutinesrku2015-08-201-1/+2
|\
| * Give a nice error when no command is givenRyan Gonzalez2015-08-151-1/+2
| |
* | cValidAssemblers -> const setrku2015-08-101-0/+2
| | | | | | | | Added assembler validity check
* | Added fasm (external assembler) support.rku2015-07-311-0/+2
|/
* don't reset the terminal when --stdout is activeAraq2015-07-161-1/+1
|
* Reset terminal colors before running compiled programdef2015-07-101-0/+5
|
* Turn GC_getStatistics into hintGCStatsAdam Strzelecki2015-07-031-5/+8
|
* Turn stack trace printing into hintStackTraceAdam Strzelecki2015-07-031-7/+8
| | | | So stack trace printing can be explicitly enabled by --hint[StackTrace]:on.
* Turn optPrintSurroundingSrc into hintSourceAdam Strzelecki2015-07-031-4/+9
| | | | | So surrounding source printing can be enabled for lower verbosity levels explicitly.
* Turn loadDynamicLib msg into hintDependencyAdam Strzelecki2015-07-031-3/+6
|
* Turn execExternalProgram msgs into hintExecutingAdam Strzelecki2015-07-031-2/+7
| | | | | Or hintLinking that is used on verbosity:1. This lets you treat this message as regular hint, and control it via command line.
* List warnings & hints via --(hints|warnings):listAdam Strzelecki2015-07-031-1/+19
| | | | | Hints and warnings can be now listed using --warnings:list and --hints:list printing names and checkboxes indicating which of these are enabled.
* Introduce NotesVerbosity defining verbosity levelsAdam Strzelecki2015-07-031-3/+16
| | | | | | | | | | | | | | This solves two issues: 1. Some notes were enabled explicitly for some verbosity levels, so --hintName:on has no effect if verbosity level was too low. 2. Verbosity level for notes is not longer scattered across the source code, instead if now lives in msgs.nim NotesVerbosity array 3. Individual note settings have stronger effect than verbosity setting, so --hintName:off will disable hint regardless of high verbosity setting, and vice-versa --hintName:on will enable hint even on low verbosity setting.
* fixes 'instantiation from here' highlightingAraq2015-07-011-1/+1
|