I met a problem when trying to flex abcd.l
. I wanted to redirect the output to a new file instead of the default one lex.yy.c
I looked up it in manual finding an option -o(--output=FILE)
so I changed my command to flex xx.l -o lex.yy.1.c
but error occurs.
flex: can't open --outfile=lex.yy.1.c
/usr/bin/m4:stdin:2621: ERROR: end of file in string
My working environment is cygwin
and windows 7
flex -o azure_lexer.lex.c azure_lexer.l
is giving errorC:\GnuWin32\bin\flex.exe: can't open azure_lexer.lex.c
– Gull