* data/glr.c (yyaddDeferredAction): Flesh out the comment.

This commit is contained in:
Paul Hilfinger
2006-01-11 23:08:49 +00:00
parent 32c292920e
commit 12f4614d07
2 changed files with 8 additions and 2 deletions

View File

@@ -1101,8 +1101,10 @@ yynewGLRStackItem (yyGLRStack* yystackp, yybool yyisState)
return yynewItem;
}
/** Stack #K = the stack from which RHS is taken. This might not be the stack
* containing STATE, to which the deferred action is added. */
/** Add a new semantic action that will execute the action for rule
* RULENUM on the semantic values in RHS to the list of
* alternative actions for STATE. Assumes that RHS comes from
* stack #K of *STACKP. */
static void
yyaddDeferredAction (yyGLRStack* yystackp, size_t yyk, yyGLRState* yystate,
yyGLRState* rhs, yyRuleNum yyrule)