Re: Flex/yacc problems

Tom Moog <tmoog@polhode.com>
8 Jun 2001 23:17:20 -0400

          From comp.compilers

Related articles
Flex/yacc problems omar@sambusys.com (Omar Al-Kaisy) (2001-06-07)
Re: Flex/yacc problems tmoog@polhode.com (Tom Moog) (2001-06-08)
Re: Flex/yacc problems wzzhu@csis.hku.hk (Zhu Wenzhang) (2001-06-21)
| List of all articles for this month |

From: Tom Moog <tmoog@polhode.com>
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.