You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an SDTS to perform the same semantic action for multiple productions, each production must be specified as well as the parameters it accepts in the %actions block of its FISHI spec. This can be tedious.
Add a new token %all or some other suitable token or shorthand (perhaps *) that comes directly after %prod/-> and specifies that the following semantic action should be applied for all productions of that symbol. It is permissible to give an "%all" semantic action along with any others for the same symbol; the %all will simply be applied to each one after any semantic actions for that symbol that come before it.
For an SDTS to perform the same semantic action for multiple productions, each production must be specified as well as the parameters it accepts in the
%actions
block of its FISHI spec. This can be tedious.Add a new token
%all
or some other suitable token or shorthand (perhaps*
) that comes directly after%prod
/->
and specifies that the following semantic action should be applied for all productions of that symbol. It is permissible to give an "%all" semantic action along with any others for the same symbol; the %all will simply be applied to each one after any semantic actions for that symbol that come before it.Issue created from work on #79
The text was updated successfully, but these errors were encountered: