Re: [Flex-help] Multiple file processing
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Gautier DI F. <gau...@gm...> - 2013-04-11 05:56:56
|
2013/4/11 Chris verBurg <che...@gm...> > > My guess (based on the limited code snippet) would be that you don't > completely reset the lexer state in between files. Make sure you're > calling at least yyrestart, and possibly also BEGIN(INITIAL). > > -Chris > I found the solution, I have to add XMLlex_destroy(); at the end of the function. |