On Tue, Apr 6, 2010 at 10:40 PM, Dan Kennedy <danielk1...@gmail.com> wrote:
> > On Apr 7, 2010, at 3:23 AM, Chris verBurg wrote: > > > Hehe, okay, here I go. :) > > > > > > I'm trying to replace an existing flex/bison parser with an re2c/lemon > > parser, but I'm running into a methodological problem. I have a > > hypothetical grammar like this: > > > > file ::= FOO str . > > file ::= BAR str . > > See the use of the "%fallback" directive in the parse.y > file that is part of SQLite sources. I think you want > something like this: > > %fallback str BAR. > > That does almost exactly what I want. Thank you thank you thank you! :) Do you know why that isn't documented? (Or, am I looking at the wrong documentation?) -Chris _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users