From 810d3eab1e49c448fd207de1e88316d80319e917 Mon Sep 17 00:00:00 2001 From: aothms Date: Thu, 13 Aug 2015 14:18:59 +0200 Subject: [PATCH] Ignore tail remarks in the express schema parser --- src/ifcexpressparser/bootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcexpressparser/bootstrap.py b/src/ifcexpressparser/bootstrap.py index 41e2d5270c..bb9e4a58e6 100644 --- a/src/ifcexpressparser/bootstrap.py +++ b/src/ifcexpressparser/bootstrap.py @@ -173,6 +173,7 @@ import implementation import latebound_header import latebound_implementation +syntax.ignore("--" + restOfLine) syntax.ignore(Regex(r"\((?:\*(?:[^*]*\*+)+?\))")) ast = syntax.parseFile(sys.argv[1]) schema = schema.Schema(ast)