|
From: | Akim Demaille |
Subject: | Re: [PATCH] Rely on the state stack to display reduction traces. |
Date: | Mon, 10 Nov 2008 10:52:26 +0100 |
Le 31 juil. 08 à 12:50, Akim Demaille a écrit :
To display rhs symbols before a reduction, we used information about the rule reduced, which required the tables yyrhs and yyprhs. Now use rely only on thestate stack to get the same information. * data/lalr1.cc (b4_rhs_data, b4_rhs_state): New. Use them. (parser::yyrhs_, parser::yyprhs_): Remove.
I see no reason to keep these tables in all the skeletons (I have not checked whether GLR needs it though). I see no reason to keep bison generating their muscles either.
[Prev in Thread] | Current Thread | [Next in Thread] |