The patch at https://sourceware.org/ml/cgen/2014-q2/msg00008.html was
never committed, presumably because the submitter gave up trying. I
thought the patch was good, but have rewritten it to instead output
hex numbers rather than appending "u", an idiom used elsewhere in
cgen. Search for "that's not k&r".
I've also fixed the upcase to apply just to identifiers, so cgen emits
0x80000000 rather than 0X80000000, and tidied the sanitize code a
little. The tidy doesn't change emitted code.
OK to commit?
* enum.scm (gen-enum-decl): Emit large numbers as hex. Tidy
start-sanitize. Upcase just the identifiers.