When using flex -P<prefix> instead of ylwrap all the yy symbols get #defined
authorChristos Zoulas <christos@zoulas.com>
Fri, 19 Sep 2008 21:32:38 +0000 (21:32 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 19 Sep 2008 21:32:38 +0000 (21:32 +0000)
commit37b792e3fd7fe08ce27237341ec44bbae1ee77ce
tree5017355764834d33bb1362739f7c3d728a2aa8fa
parent7f144d00375fce269fba8c68b98e14f880058a4e
When using flex -P<prefix> instead of ylwrap all the yy symbols get #defined
to the prefixed ones in the begining of the c file. This breaks the #ifndef
yywrap test. We detect this by checking also yylex and if that is defined
too we declare and define yywrap.
amd/conf_tok.l
amd/sun_map_tok.l
fsinfo/fsi_lex.l