projects
/
free-sw
/
xcb
/
proto
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revive support for hex literals in protocol
[free-sw/xcb/proto]
/
xcbgen
/
expr.py
diff --git
a/xcbgen/expr.py
b/xcbgen/expr.py
index
522e17d
..
ed4b975
100644
(file)
--- a/
xcbgen/expr.py
+++ b/
xcbgen/expr.py
@@
-77,7
+77,7
@@
class Expression(object):
elif elt.tag == 'value':
# Constant expression
- self.nmemb = int(elt.text)
+ self.nmemb = int(elt.text
, 0
)
else:
# Notreached