nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: improve messages (and sometime location) of errors and warnings
[nit.git]
/
src
/
test_parser.nit
diff --git
a/src/test_parser.nit
b/src/test_parser.nit
index
8acb62c
..
6ad8038
100644
(file)
--- a/
src/test_parser.nit
+++ b/
src/test_parser.nit
@@
-82,10
+82,10
@@
if (args.is_empty and not interactive) or need_help then
print(" -h print this help")
else if interactive then
if only_lexer then
print(" -h print this help")
else if interactive then
if only_lexer then
- print "Error: -l and -i are incompatibles"
+ print "Error: -l and -i are incompatible"
exit 1
else if no_file then
exit 1
else if no_file then
- print "Error: -e and -i are incompatibles"
+ print "Error: -e and -i are incompatible"
exit 1
else if not args.is_empty then
print "Error: -i works without arguments"
exit 1
else if not args.is_empty then
print "Error: -i works without arguments"