Re: [DTC PATCH 2/2] Preserve scanner state when /include/ing.

2008-01-10 Thread Jon Loeliger
So, like, the other day Scott Wood mumbled: > 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... > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> Hmmm.. With this applied, I get the

Re: [DTC PATCH 2/2] Preserve scanner state when /include/ing.

2008-01-09 Thread David Gibson
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 ant

[DTC PATCH 2/2] Preserve scanner state when /include/ing.

2008-01-07 Thread Scott Wood
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... Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc-lexer.l |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a