flex returns: error: identifier "yy_current_buffer" is undefined
Issue
- Some lex code that used to work ok on RHEL 5, now errors out on RHEL 6 with the following message:
foo.fl(101): error: identifier "yy_current_buffer" is undefined
tmpBuff = yy_current_buffer;
- We notice that
yy_current_bufferdoes not exist any longer in RHEL 6.
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
