On Fri, Mar 02, 2007 at 03:18:59PM +0100, [EMAIL PROTECTED] wrote: > On Friday 02 March 2007 15:15, Edsko de Vries wrote: > > On Fri, Mar 02, 2007 at 03:02:43PM +0100, [EMAIL PROTECTED] wrote: > > > On Friday 02 March 2007 14:54, Edsko de Vries wrote: > > > > If you have a > > > > good solution for that, I'd be very interested to hear it! > > > > > > look at pl1gcc.sourceforge.net > > > > > > in the scanner you 'just' have to do all the bean counting yourself, and > > > you have to come up with a prober structure to keep the locations, but > > > other than that it is straight forward to implement. > > > > The problem is that our scanner is rather complicated (lexical analysis > > for PHP is not easy), > > do you have a link or can you send me the scanner file alone ?
Sure. phc is hosted by Google code; the scanner is at http://phc.googlecode.com/svn/phc/trunk/src/generated_src/php_scanner.lex Edsko _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison