Re: [Flex-help] Floating-point constant suffixes
flex is a tool for generating scanners
Brought to you by:
wlestes
From: John P. H. <jph...@gm...> - 2012-05-17 15:15:57
|
Are you sure there isn't a blank in your input in front of the f? Try a monospaced font in your editor. On 17 May 2012 16:29, Rodrigo Dominguez <rod...@gm...> wrote: > This is weird. I am using flex 2.5.35 (cygwin). I found that if I change my > second rule to: > > /* note the extra space between the exponent and the suffix */ > {D}+"."{D}*({E})?" "[fF]? { return(FLOATCONSTANT); } > > then flex will parse it right. Maybe an issue with cygwin's flex? I will > try native linux flex and will report back. > |