[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Bison versus Yacc
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-inetutils] Bison versus Yacc |
Date: |
Wed, 19 Oct 2011 13:24:02 +0300 |
Mats Erik Andersson <address@hidden> 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