Hi,

when a scanner.l file contains

        %option prefix="foo_"

flex will output to lex.foo_.c instead of lex.yy.c,
causing ylwrap to fail

        (automake runs:)
        /bin/sh ../ylwrap scanner.l lex.yy.c scanner.c -- flex  

How would one best proceed here? Especially when there are multiple 
lexers/parsers possible, so just removing %option prefix is likely to 
end in a link-time "double definition" error.


Jan


Reply via email to