help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Support or warn on DOS type EOL ...


From: Jamie Risk
Subject: Support or warn on DOS type EOL ...
Date: Thu, 28 Feb 2002 15:36:04 -0500

This simple little flex input:

  DIG [0-9]+
  %%
  {DIG} {printf("Hi!");}
  %%

won't work (i.e. "Hi!" _never_ gets printed) if the eol's are "\n\r". 
Flex didn't wince when it created it's output, and I spent a couple of
hours asking "why?".  

Now that I know I won't need it, but could CRLF support, documentation,
or a warning be added to the program?

- Jamie

~~~~~~~~~
Jamie Risk
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]