|Undocumented features of lex email@example.com (1991-07-02)|
|From:||firstname.lastname@example.org (Colin Plumb)|
|Organization:||Array Systems Computing, Inc., Toronto, Ontario, CANADA|
|Date:||Tue, 2 Jul 1991 18:28:06 -0400|
I recall reading of someone who fought lex when he wanted to use start
conditions and wanted to include the initial condition (returned to
with "BEGIN 0;") as a condition. Well, <0> doesn't work, but
<INITIAL> does. You can also use INITIAL in a BEGIN statement.
It's not documented in the copy of "lex - a Lexical Analyzer Generator"
that's in the Sun manual in front of me, so presumably it's not quite
[Flex, as I recall, actually documents it. -John]
Return to the
Search the comp.compilers archives again.