nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syntax: allows trailing " and { in triple quoted strings
[nit.git]
/
src
/
test_parser.nit
diff --git
a/src/test_parser.nit
b/src/test_parser.nit
index
654e9cd
..
674753c
100644
(file)
--- a/
src/test_parser.nit
+++ b/
src/test_parser.nit
@@
-15,7
+15,7
@@
# limitations under the License.
# Program used to test the NIT parser
# limitations under the License.
# Program used to test the NIT parser
-package test_parser
+module test_parser
import parser
import parser
@@
-45,7
+45,7
@@
var only_lexer = false
var need_help = false
var no_file = false
var need_help = false
var no_file = false
-while not args.is_empty and args.first.first == '-' do
+while not args.is_empty and args.first.chars.first == '-' do
if args.first == "-n" then
no_print = true
else if args.first == "-l" then
if args.first == "-n" then
no_print = true
else if args.first == "-l" then