tools: add 'Location' class to use in AST and errors
[nit.git] / src / parser / xss / main.xss
index dc32b23..a867481 100644 (file)
@@ -27,6 +27,8 @@ $ output 'parser_abs.nit'
 # This file was generated by SableCC (http://www.sablecc.org/). 
 package parser_abs
 
+import mmloader
+
 $ call make_abs_nodes()
 $ call make_abs_tokens()
 $ call make_abs_prods()
@@ -38,9 +40,9 @@ $ output 'lexer.nit'
 package lexer
 
 $ if $usermodule
-import $usermodule
+intrude import $usermodule
 $ else
-import parser_abs
+intrude import parser_abs
 $ end
 $ call make_tokens()
 $ call make_lexer()
@@ -75,7 +77,7 @@ $ output 'parser.nit'
 # This file was generated by SableCC (http://www.sablecc.org/). 
 package parser
 
-import parser_prod
+intrude import parser_prod
 intrude import parser_tables
 $ call make_parser()
 $ end output