maesfahani / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

Mistake in lexer #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
From the newest release avaible here, ptx.lpp has this definition for 
octal values :
OCT_CONSTANT (0[0123456]*)
but 07 is a proper octal value.

Original issue reported on code.google.com by korgulec@gmail.com on 10 Aug 2009 at 9:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed this in r104, please verify

Original comment by gregory....@gatech.edu on 13 Aug 2009 at 8:19

GoogleCodeExporter commented 8 years ago
It's ok.
I think that there is an another issue,
HEX_CONSTANT (0[xX][[:xdigit:]]+)
OCT_CONSTANT (0[01234567]*)
-07 is a proper value
-0xa is good too.

Original comment by korgulec@gmail.com on 14 Aug 2009 at 5:14