mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Ignore tail remarks in the express schema parser
This commit is contained in:
@@ -173,6 +173,7 @@ import implementation
|
|||||||
import latebound_header
|
import latebound_header
|
||||||
import latebound_implementation
|
import latebound_implementation
|
||||||
|
|
||||||
|
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