mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Ignore line comment in express parser
This commit is contained in:
@@ -175,6 +175,7 @@ else:
|
|||||||
|
|
||||||
%s
|
%s
|
||||||
|
|
||||||
|
syntax.ignore("--" + restOfLine)
|
||||||
syntax.ignore(Regex(r"\((?:\*(?:[^*]*\*+)+?\))"))
|
syntax.ignore(Regex(r"\((?:\*(?:[^*]*\*+)+?\))"))
|
||||||
ast = syntax.parseFile(sys.argv[1])
|
ast = syntax.parseFile(sys.argv[1])
|
||||||
schema = schema.Schema(ast)
|
schema = schema.Schema(ast)
|
||||||
|
|||||||
Reference in New Issue
Block a user