Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!zephyr!tektronix!psueea!qiclab!mntgfx!glenm From: glenm@mentor.com (Glen McCluskey @ APD x2896) Newsgroups: gnu.gcc.bug Subject: bug with hex constants ending in 'e' in cccp Message-ID: <1989Jun21.232911.1676@mentor.com> Date: 21 Jun 89 23:29:11 GMT Distribution: usa Organization: Mentor Graphics Corporation, Beaverton Oregon Lines: 34 /* cccp of: */ #define XXX 37 main() { int a; a = 0xe+XXX; } /* comes out as: */ # 1 "xxx" main() { int a; a = 0xe+XXX; } This is in 1.26, but later ones have the same problem. The problem is in the main tokenizing routine in "recscan()". The code there fails to distinguish the case of hex as opposed to floating numbers with the 'e' exponent. -- ------------------------- Glen McCluskey Mentor Graphics Corporation glenm@pdx.MENTOR.COM