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

Jon Loeliger jdl at jdl.com
Fri Jan 11 01:16:42 EST 2008


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 <scottwood at freescale.com>

Hmmm..  With this applied, I get the usual warning:

        CHK version_gen.h
         CC dtc-lexer.lex.o
    dtc-lexer.lex.c:1901: warning: 'yy_top_state' defined but not used

*grumble*

Applied.

jdl




More information about the Linuxppc-dev mailing list