From: Marcus B. <ma...@ma...> - 2006-04-15 17:08:53
|
Hello Lynn, in your code you probably want to quit the scanner from YYFILL instead of reading behind the input. Hey i am not going to write your code. Saturday, April 15, 2006, 7:05:10 PM, you wrote: > Marcus Boerger wrote: >> here the warning is probably right. You should actually take care of >> that 9. > This newbie tried a number of things, and didn't come up with anything > that removed the warning. Do you have a solution for the DayOfWeek.re > I'm wrestling with? I'd like to fix it, but haven't figured out how to > ... not because I haven't tried. > BTW, I'm always getting two identical messages ... I suppose the cc: > to my email along with the post to the list. > static char *pBacktrackInfo; > #define YYCTYPE char > #define YYCURSOR m_pzCurStrToScanPos > #define YYLIMIT m_pzCurStrToScanPos > #define YYMARKER pBacktrackInfo > // Unclear what would be valid to have here for YYFILL(n) > // vc7.1 gives warning about: > // empty controlled statement found; is this the intent? > #define YYFILL(n) > #pragma warning(disable : 4390) > int CDowRegex::Match(void) > { > /*!re2c > ("Sunday"|"Sun") { return 0; } > // bla bla bla > [\000-\377] > { > m_pzPatternMatched = NULL; > return -1; > } > */ > } > #pragma warning(default : 4390) > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Re2c-general mailing list > Re2...@li... > https://lists.sourceforge.net/lists/listinfo/re2c-general -- Best regards, Marcus mailto:ma...@ma... |