Ignore line comment in express parser

This commit is contained in:
Thomas Krijnen
2017-10-13 13:11:08 +02:00
parent de78c6c5dc
commit f6403c81e1
+1
View File
@@ -175,6 +175,7 @@ else:
%s
syntax.ignore("--" + restOfLine)
syntax.ignore(Regex(r"\((?:\*(?:[^*]*\*+)+?\))"))
ast = syntax.parseFile(sys.argv[1])
schema = schema.Schema(ast)