From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 10 Jan 2008 15:05:17 +1100 From: David Gibson To: Scott Wood Subject: Re: [DTC PATCH 2/2] Preserve scanner state when /include/ing. Message-ID: <20080110040517.GA19088@localhost.localdomain> References: <20080107202751.GB17782@ld0162-tx32.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080107202751.GB17782@ld0162-tx32.am.freescale.net> Cc: linuxppc-dev@ozlabs.org, jdl@jdl.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 07, 2008 at 02:27:51PM -0600, Scott Wood wrote: > This allows /include/s to work when in non-default states, > such as PROPNODECHAR. > > We may want to use state stacks to get rid of BEGIN_DEFAULT() altogether... And we should, if we're going to go to stacked states at all. I was anticipating we might need to use stacked states for handling propnamestate as we need expression support. I just hadn't realised we already needed it for includes. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson