Flex 2.6.3-1: error: ‘INITIAL’ undeclared here (not in a function)

ram rao via cygwin cygwin@cygwin.com
Sun Apr 16 10:02:00 GMT 2017


I get this error:


vlex.l:37:25: error: ‘INITIAL’ undeclared here (not in a function) 

static int CurrentState=INITIAL;


Googling this issue suggests one try "flex-old"

However that is not available anywhere


Attached pls find:

  cygcheck.out

  vlex.l

Pls help

Thanks
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170416/82a423dc/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vlex.l
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170416/82a423dc/attachment-0001.ksh>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list