bindings: update constants after recent changes in unicorn.h

This commit is contained in:
Nguyen Anh Quynh
2016-01-23 10:31:16 +08:00
parent 5c6c67bb3a
commit ca79d11211
5 changed files with 34 additions and 25 deletions

View File

@ -116,7 +116,8 @@ def gen(lang):
if f[0].startswith("UC_" + prefix.upper()):
if len(f) > 1 and f[1] not in ('//', '='):
print("Error: Unable to convert %s" % f)
print("WARNING: Unable to convert %s" % f)
print(" Line =", line)
continue
elif len(f) > 1 and f[1] == '=':
rhs = ''.join(f[2:])