[Flex-devel] yytext and similar in -P scanners
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Petr M. <pma...@re...> - 2007-05-11 16:04:20
|
Hi, a bug has been opened against flex in Red Hat bugzilla: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239695 Quote: > Previous flex releases parsed args such that "flex -is" was > acceptable. This release requires the form "flex -i -s" to > do the same thing. Perhaps there were reasons behind this change, but grouping of options seems to me a reasonable thing to support. I'm sending the patch that implements it this way: if short option doesn't allow an argument, but there is an argument string, error is not reported, but the string is parsed next time around as another short option. Comments welcome. Thanks, PM |