mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Merge branch 'master' into v0.6.0
# Conflicts: # src/ifcparse/Ifc4-latebound.cpp # src/ifcparse/Ifc4.cpp # src/ifcparse/Ifc4.h # src/ifcparse/Ifc4enum.h
This commit is contained in:
@@ -178,6 +178,7 @@ cache_file = sys.argv[1] + ".cache.dat"
|
||||
if os.path.exists(cache_file):
|
||||
with open(cache_file, "rb") as f:
|
||||
mapping = pickle.load(f)
|
||||
schema = mapping.schema
|
||||
else:
|
||||
from pyparsing import *
|
||||
from nodes import *
|
||||
|
||||
@@ -109,7 +109,8 @@ __attribute__((optnone))
|
||||
try:
|
||||
declared_type = get_declared_type(type, emitted)
|
||||
except UnmetDependenciesException:
|
||||
print("Unmet", repr(name))
|
||||
# @todo?
|
||||
# print("Unmet", repr(name))
|
||||
return False
|
||||
|
||||
statements.append(' %(schema_name)s_%(name)s_type = new type_declaration("%(name)s", %%(index_in_schema_%(name)s)d, %(declared_type)s);' % locals())
|
||||
|
||||
Reference in New Issue
Block a user