summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2009-10-21 10:20:15 +0200
committerrumpf_a@web.de <>2009-10-21 10:20:15 +0200
commit053309e60aee1eda594a4817ac8ac2fb8c18fb04 (patch)
tree0f1ce8b0de0b493045eb97eeca6ebf06542de601 /data
parent581572b28c65bc9fe47974cfd625210a69be0f3f (diff)
downloadNim-053309e60aee1eda594a4817ac8ac2fb8c18fb04.tar.gz
version 0.8.2
Diffstat (limited to 'data')
-rwxr-xr-xdata/advopt.txt4
-rwxr-xr-xdata/ast.yml5
-rwxr-xr-xdata/basicopt.txt2
-rwxr-xr-xdata/messages.yml7
4 files changed, 10 insertions, 8 deletions
diff --git a/data/advopt.txt b/data/advopt.txt
index 72e8ffb7c..975c09af8 100755
--- a/data/advopt.txt
+++ b/data/advopt.txt
@@ -28,9 +28,11 @@ Advanced options:
   --checkpoints:on|off      turn on|off checkpoints; for debugging Nimrod
   --skip_cfg                do not read the general configuration file
   --skip_proj_cfg           do not read the project's configuration file
-  --gc:refc|boehm           use Nimrod's native GC|Boehm GC
+  --gc:refc|boehm|none      use Nimrod's native GC|Boehm GC|no GC
   --index:FILE              use FILE to generate a documenation index file
   --putenv:key=value        set an environment variable
   --list_cmd                list the commands used to execute external programs
+  --parallel_build=0|1|...  perform a parallel build
+                            value = number of processors (0 for auto-detect)
   --verbosity:0|1|2|3       set Nimrod's verbosity level (0 is default)
   -v, --version             show detailed version information
diff --git a/data/ast.yml b/data/ast.yml
index 805b5dc68..f27b09a18 100755
--- a/data/ast.yml
+++ b/data/ast.yml
@@ -8,7 +8,7 @@
 #
 
 {
-'SymFlag': [          # already 29 flags!
+'SymFlag': [          # already 30 flags!
   'sfUsed',           # read access of sym (for warnings) or simply used
   'sfStar',           # symbol has * visibility
   'sfMinus',          # symbol has - visibility
@@ -34,7 +34,7 @@
   'sfAddrTaken',      # the variable's address is taken (ex- or implicitely)
   'sfCompilerProc',   # proc is a compiler proc, that is a C proc that is
                       # needed for the code generator
-  'sfCppMethod',      # proc is a C++ method (not implemented yet)
+  'sfProcvar',        # proc can be passed to a proc var
   'sfDiscriminant',   # field is a discriminant in a record/object
   'sfDeprecated',     # symbol is deprecated
   'sfInClosure',      # variable is accessed by a closure
@@ -152,7 +152,6 @@
   'nkAccQuoted',          # `a` as a node
 
   'nkTableConstr',        # a table constructor {expr: expr}
-  'nkQualified',          # describes a.b for qualified identifiers
   'nkBind',               # ``bind expr`` node
   'nkSymChoice',          # symbol choice node
   'nkHiddenStdConv',      # an implicit standard type conversion
diff --git a/data/basicopt.txt b/data/basicopt.txt
index c716f7641..af3f541ad 100755
--- a/data/basicopt.txt
+++ b/data/basicopt.txt
@@ -27,7 +27,7 @@ Options:
   -a, --assertions:on|off   code generation for assertions ON|OFF
   --dead_code_elim:on|off   whole program dead code elimination ON|OFF
   --opt:none|speed|size     optimize not at all or for speed|size
-  --app:console|gui         generate a console|GUI application
+  --app:console|gui|lib     generate a console|GUI application|dynamic library
   -r, --run                 run the compiled program with given arguments
   --advanced                show advanced command line switches
   -h, --help                show this help
diff --git a/data/messages.yml b/data/messages.yml
index 44e05dca9..ac41b5031 100755
--- a/data/messages.yml
+++ b/data/messages.yml
@@ -92,7 +92,7 @@
 {'errCannotEvalXBecauseIncompletelyDefined':
   "cannot evalutate '$1' because type is not defined completely"},
 {'errChrExpectsRange0_255': "'chr' expects an int in the range 0..255"},
-{'errDotRequiresRecordOrObjectType': "'.' requires a record or object type"},
+{'errDynlibRequiresExportc': "'dynlib' requires 'exportc'"},
 {'errUndeclaredFieldX': "undeclared field: '$1'"},
 {'errNilAccess': 'attempt to access a nil address'},
 {'errIndexOutOfBounds': 'index out of bounds'},
@@ -152,7 +152,7 @@
 {'errButExpectedX': "but expected '$1'"},
 {'errAmbiguousCallXYZ': 'ambiguous call; both $1 and $2 match for: $3'},
 {'errWrongNumberOfArguments': 'wrong number of arguments'},
-{'errInlineProcHasNoAddress': 'an inline proc has no address'},
+{'errXCannotBePassedToProcVar': "'$1' cannot be passed to a procvar"},
 {'errXCannotBeInParamDecl': '$1 cannot be declared in parameter declaration'},
 {'errPragmaOnlyInHeaderOfProc':
   'pragmas are only in the header of a proc allowed'},
@@ -186,7 +186,6 @@
 {'errATypeHasNoValue': 'a type has no value'},
 {'errXisNoType': "invalid type: '$1'"},
 {'errCircumNeedsPointer': "'^' needs a pointer or reference type"},
-{'errInvalidContextForBuiltinX': "invalid context for builtin '$1'"},
 {'errInvalidExpression': 'invalid expression'},
 {'errInvalidExpressionX': "invalid expression: '$1'"},
 {'errEnumHasNoValueX': "enum has no value '$1'"},
@@ -250,6 +249,8 @@
 {'warnUnknownSubstitutionX': "unknown substitution '$1'"},
 {'warnLanguageXNotSupported': "language '$1' not supported"},
 {'warnCommentXIgnored': "comment '$1' ignored"},
+{'warnXisPassedToProcVar': "'$1' is passed to a procvar; deprecated"},
+
 # user warning message:
 {'warnUser': '$1'},