Support for comments in rules files

This commit is contained in:
Henri DF
2016-02-24 15:47:19 -08:00
parent ffac848c89
commit d62ea1df24
3 changed files with 6 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ for str in string.gmatch(arg[1], "([^;]+)") do
doit(str)
end
if not (ast) then
if (ast and ast.type) then
compiler.parser.print_ast(ast)
end