Date: Thu, 9 Oct 2003 01:52:14 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Adam C. Migus" <adam@migus.org> Cc: arch@freebsd.org Subject: Re: sys/conf/DEFAULT[S] Message-ID: <20031009014522.L5476@gamplex.bde.org> In-Reply-To: <51310.204.254.155.35.1065622332.squirrel@mail.migus.org> References: <XFMail.20030924170342.jhb@FreeBSD.org> <20030925092319.H5418@gamplex.bde.org><49939.204.254.155.35.1064593320.squirrel@mail.migus.org> <20030927080420.N18558@gamplex.bde.org> <49955.192.168.4.2.1065074430.squirrel@mail.migus.org> <51310.204.254.155.35.1065622332.squirrel@mail.migus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Oct 2003, Adam C. Migus wrote:
> Bruce Evans said:
> > Stefan's version requires SEMICOLON:
> > % + INCLUDE ID SEMICOLON
> > % + = { include($2, 0); };
> > % + |
> > ...
> > I lost your examples showing that this doesn't quite work. What is
> > the
> > problem with it?
> ...
> WRT Stefan's solution, simply nest two includes on the first line,
> like so:
>
> head -1 KERNEL
> include SUB1
>
> head -1 SUB1
> include SUB2
>
> This will cause config to fail in the same manner it did before,
> with his patch.
Er, but this works for me. I test with SUB2 having the following:
1) include GENERIC
2) same contents as GENERIC
3) same contents as GENERIC except for no comment lines at beginning.
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009014522.L5476>
