summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2009-04-22 15:55:27 +0200
committerAndreas Rumpf <rumpf_a@web.de>2009-04-22 15:55:27 +0200
commite792940f5273bf8f8761c4cb29b241445e8b1d0b (patch)
tree8a6b224b8c0b3db14dbc20d89b7ca9ccb19b1f56 /data
parent439aa2d04d5528b5aed288f70895515d1da2dc3d (diff)
downloadNim-e792940f5273bf8f8761c4cb29b241445e8b1d0b.tar.gz
version 0.7.6
Diffstat (limited to 'data')
-rw-r--r--data/advopt.txt1
-rw-r--r--data/ast.yml1
-rw-r--r--data/basicopt.txt4
-rw-r--r--data/messages.yml5
4 files changed, 5 insertions, 6 deletions
diff --git a/data/advopt.txt b/data/advopt.txt
index ecf3b7b75..1fc1f4845 100644
--- a/data/advopt.txt
+++ b/data/advopt.txt
@@ -27,7 +27,6 @@ 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
-  --import:MODULE_FILE      import the given module implicitly for each module
   --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
diff --git a/data/ast.yml b/data/ast.yml
index b1d55327f..c4b261bba 100644
--- a/data/ast.yml
+++ b/data/ast.yml
@@ -212,7 +212,6 @@
   'nkFromStmt',           # a from * import statement
   'nkImportAs',           # an `import xyx as abc` section
   'nkIncludeStmt',        # an include statement
-  'nkAccessStmt',         # used internally for iterators
   'nkCommentStmt',        # a comment statement
   'nkStmtListExpr',       # a statement list followed by an expr; this is used
                           # to allow powerful multi-line templates
diff --git a/data/basicopt.txt b/data/basicopt.txt
index c10cba63b..9ba29c265 100644
--- a/data/basicopt.txt
+++ b/data/basicopt.txt
@@ -19,14 +19,14 @@ Options:
   --debugger:on|off         turn Embedded Nimrod Debugger ON|OFF
   -x, --checks:on|off       code generation for all runtime checks ON|OFF
   --obj_checks:on|off       code generation for obj conversion checks ON|OFF
-  --field_checks:on|off     code generation for case record fields ON|OFF
+  --field_checks:on|off     code generation for case variant fields ON|OFF
   --range_checks:on|off     code generation for range checks ON|OFF
   --bound_checks:on|off     code generation for bound checks ON|OFF
   --overflow_checks:on|off  code generation for over-/underflow checks ON|OFF
   -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|lib     generate a console|GUI application or a shared lib
+  --app:console|gui         generate a console|GUI application
   -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 c319aa693..b5b37c6c5 100644
--- a/data/messages.yml
+++ b/data/messages.yml
@@ -1,5 +1,5 @@
 # This file contains all the messages of the Nimrod compiler
-# (c) 2008 Andreas Rumpf
+# (c) 2009 Andreas Rumpf
 
 [
 # fatal errors:
@@ -208,7 +208,7 @@
 {'errXNotAllowedHere': '$1 here not allowed'},
 {'errInvalidControlFlowX': 'invalid control flow: $1'},
 {'errATypeHasNoValue': 'a type has no value'},
-{'errXisNoType': "'$1' is no type"},
+{'errXisNoType': "invalid type: '$1'"},
 {'errCircumNeedsPointer': "'^' needs a pointer or reference type"},
 {'errInvalidContextForBuiltinX': "invalid context for builtin '$1'"},
 {'errInvalidExpression': 'invalid expression'},
@@ -254,6 +254,7 @@
 {'errXRequiresOneArgument': "converter requires one parameter"},
 {'errUnhandledExceptionX': "unhandled exception: $1"},
 {'errCyclicTree': "macro returned a cyclic abstract syntax tree"},
+{'errXisNoMacroOrTemplate': "'$1' is no macro or template"},
 
 # user error message:
 {'errUser': '$1'},