help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LALR : How it work during parsing time with empty rule ? what to do to t


From: Baldurien (club internet)
Subject: LALR : How it work during parsing time with empty rule ? what to do to the stack?
Date: Mon, 12 Sep 2005 23:31:42 +0200

Hello,

I've  made  a  little  parser in PHP based on bison output file, and I
experiment a little problem :

When I have to reduce, saying by rule X : Y '+' X I know I have to pop
3  times, but what happens when the rule is simply X : /* empty */ ? I
can't pop at all, so what should I do?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]