diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-01 20:20:48 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-01 20:46:05 +0300 |
commit | 89f9772f15f93fd27531d341ed762d5236c67be0 (patch) | |
tree | d0af58319b7685e23d019a90f06b059310008f9c /compiler/msgs.nim | |
parent | e0f706804f115d7a2b88abe18616dd00a3bc3034 (diff) | |
download | Nim-89f9772f15f93fd27531d341ed762d5236c67be0.tar.gz |
nimrod dump can now produce a machine readable json report
The data in the report includes necessary information for starting the compiler service and setting up the project paths in the IDE. the default verbosity of 1 is now set in the compiler code to fix an issue with verbosity being temporary set to 1 during config parsing even when it's explicitly overridden on the command-line. compiler/lexbase was temporary renamed to nimlexbase as a work-around for a codegen naming conflict with lib/pure/lexbase resulting in linking errors (further investigation needed).
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r-- | compiler/msgs.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 8b45bf80c..6062ebd7f 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -83,7 +83,9 @@ type errInvalidCommandX, errXOnlyAtModuleScope, errXNeedsParamObjectType, errTemplateInstantiationTooNested, errInstantiationFrom, - errInvalidIndexValueForTuple, errCommandExpectsFilename, errXExpected, + errInvalidIndexValueForTuple, errCommandExpectsFilename, + errMainModuleMustBeSpecified, + errXExpected, errInvalidSectionStart, errGridTableNotImplemented, errGeneralParseError, errNewSectionExpected, errWhitespaceExpected, errXisNoValidIndexFile, errCannotRenderX, errVarVarTypeNotAllowed, errInstantiateXExplicitely, @@ -301,6 +303,7 @@ const errInstantiationFrom: "instantiation from here", errInvalidIndexValueForTuple: "invalid index value for tuple subscript", errCommandExpectsFilename: "command expects a filename argument", + errMainModuleMustBeSpecified: "please, specify a main module in the project configuration file", errXExpected: "\'$1\' expected", errInvalidSectionStart: "invalid section start", errGridTableNotImplemented: "grid table is not implemented", |