aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/bindings_generator.py4
-rw-r--r--tools/shared.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/bindings_generator.py b/tools/bindings_generator.py
index bdb3e755..e1c1ab4b 100755
--- a/tools/bindings_generator.py
+++ b/tools/bindings_generator.py
@@ -180,8 +180,8 @@ for classname, clazz in classes.iteritems():
method['name'] = 'op_comp'
method['operator'] = ' return arg0 == arg1;' if len(method['parameters'][0]) == 2 else ' return *self == arg0;'
else:
- print 'zz unknown operator:', method['name']
- 1/0.
+ print 'zz unknown operator:', method['name'], ', ignoring'
+ method['ignore'] = True
# Fill in some missing stuff
method['returns_text'] = method['returns_text'].replace('&', '').replace('*', '')
diff --git a/tools/shared.py b/tools/shared.py
index d830627c..b5ae1ae1 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -333,7 +333,6 @@ class Settings:
Settings.CORRECT_SIGNS = 0
Settings.CORRECT_OVERFLOWS = 0
Settings.CORRECT_ROUNDINGS = 0
- Settings.I64_MODE = 0
Settings.DOUBLE_MODE = 0
if noisy: print >> sys.stderr, 'Warning: Applying some potentially unsafe optimizations! (Use -O2 if this fails.)'