Joel,

Does anybody know why the decision was made to have the %merge
function called last?  This choice seems to be very suboptimal.


The merge function's job is to merge the semantic values constructed by the two actions. If it were called before the actions, what would it merge?

Ok, so let's change its name.

%premerge  ??
%initmerge ??

In my case I would have to save all sorts of information in
order to undo the effects of the semantic actions that happen
in both rules are reduced.  It is much simpler to perform a
test (ie, will another rule also be matched for this token
subsequence) in a rule.
begin:vcard
fn:Derek M. Jones
n:Jones;Derek M.
org:Knowledge Software, Ltd
adr:;;;Farnborough;Hants;;England
email;internet:[EMAIL PROTECTED]
tel;work:(44) 1252 520667
note;quoted-printable:Applications Standards Conformance Testing=0D=0A=
	
x-mozilla-html:FALSE
url:http://www.knosof.co.uk
version:2.1
end:vcard

_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to