Re: dtc: Clean up lexing of include files

2008-07-14 Thread Jon Loeliger
> Currently we scan the /include/ directive as two tokens, the > "/include/" keyword itself, then the string giving the file name to > include. We use a special scanner state to keep the two linked > together, and use the scanner state stack to keep track of the > original state while we're parsin

dtc: Clean up lexing of include files

2008-06-26 Thread David Gibson
Currently we scan the /include/ directive as two tokens, the "/include/" keyword itself, then the string giving the file name to include. We use a special scanner state to keep the two linked together, and use the scanner state stack to keep track of the original state while we're parsing the two