snoot: immed_and_type_for_C_intconst: properly parse "0"
commita284ff4ead1e2173921d452af5a0df1b2c32a65e
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 23 Dec 2005 13:29:02 +0000 (23 14:29 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 23 Dec 2005 13:29:02 +0000 (23 14:29 +0100)
treee1fbf5f2791f1ab764e645b27f88c01e6c7cc7aa
parent35305714b28522b0049f24dddb120e59721b0380
snoot: immed_and_type_for_C_intconst: properly parse "0"

The 0 would be interpreted as marking octal numbers
and the actual number would be obtained by scanning
the remainder of the input (skipping whitespace!).
If 0 happened to be followed by another number, this
number would be used instead of the 0.
src/basesuif/snoot/genop.cc