Mats Erik Andersson <[email protected]> ha escrit: > We could perhaps convince Yacc to delay the preamble somewhat
Does it support "%top"? If so, placing the following at the start of
the *.y file should suffice:
%top {
#include <config.h>
}
If not, there's no way other than to postprocess the yacc output by
e.g. a sed script.
Regards,
Sergey
