Closed frmdstryr closed 2 years ago
@frmdstryr thanks. would it be possible to add a simple test for the +pname changes? Can just exit the example and "expected" files to cover this behavior to make sure it stays consistent. Just trying to avoid changes in the binder breaking downstream tools that use it (i.e., pyOCCT).
Changes:
Makes the
+pname
also rename the cpp class to avoid duplicate definition errors caused by templates (eg https://github.com/trelau/pyOCCT/pull/95/files#diff-7206418f088df5bcafb72d1a2ef6c5c4773fdd0f0c7bb14be7f5dbfcd4d606e1R784-R785).Also I took the liberty to wrap the config parser int a try/except block to print the failing line number if there is a typo in the config file.