Revive support for hex literals in protocol
authorMikhail Gusarov <dottedmag@dottedmag.net>
Thu, 13 May 2010 21:24:27 +0000 (04:24 +0700)
committerJulien Danjou <julien@danjou.info>
Fri, 14 May 2010 09:28:27 +0000 (11:28 +0200)
commitdae6b32d78f1a4ee30229d7f944ca6528aa50a7d
treef465e7bf875b8f9f369486ac31cd2737fe392226
parent2d873a3dc8c0e1315be426da8054adb4188574b0
Revive support for hex literals in protocol

As a side-effect it also adds octal and binary literals. Exact syntax is
described at http://docs.python.org/reference/lexical_analysis.html#numbers

It is unwise to use full syntax, as there might be other binding generators,
octal, binary and hex literals seem to be safe though.

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
xcbgen/expr.py
xcbgen/xtypes.py