Re: Flex/yacc problems

Tom Moog <>
8 Jun 2001 23:17:20 -0400

          From comp.compilers

Related articles
Flex/yacc problems (Omar Al-Kaisy) (2001-06-07)
Re: Flex/yacc problems (Tom Moog) (2001-06-08)
Re: Flex/yacc problems (Zhu Wenzhang) (2001-06-21)
| List of all articles for this month |

From: Tom Moog <>
Newsgroups: comp.compilers
Date: 8 Jun 2001 23:17:20 -0400
Organization: Polhode Inc
References: 01-06-014
Keywords: lex
Posted-Date: 08 Jun 2001 23:17:20 EDT

a. Are you using %array rather than %pointer ?
        %array is for lex compatibility and limits
        the maximum sized token, if I remember.

b. You can consume <EOF> only once. Don't call
        yylex() after it's returned EOF.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.