On Wed, May 07, 2014 at 12:48:22AM +0100, John Beard wrote: > I would have thought this would exactly be done at the end of tokenisation - > this is when the current parser says "erk, i expected one of 'fp_line', > 'pad', ...., I give up now, no footprint for you". Instead, what it could do > is go, "hmm, don't know what this is, I'll keep this bit - up to the > matching paren - for later in case we save it back, and move on".
More or less, that's the idea :D There are various ways to do this but all depends on the flexibility required and the current architecture of the parser. Whole books have been written on the issue... -- Lorenzo Marcantonio Logos Srl _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp