bison-patches
[Top][All Lists]
Advanced

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

[commit] Slight change of comment in glr.c


From: Paul Hilfinger
Subject: [commit] Slight change of comment in glr.c
Date: Wed, 11 Jan 2006 15:10:52 -0800

Committed at Joel's suggestion.

Paul Hilfinger

ChangeLog:

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

Index: data/glr.c
===================================================================
RCS file: /sources/bison/bison/data/glr.c,v
retrieving revision 1.156
diff -u -p -r1.156 glr.c
--- data/glr.c  6 Jan 2006 20:48:33 -0000       1.156
+++ data/glr.c  11 Jan 2006 23:06:52 -0000
@@ -1101,8 +1101,10 @@ yynewGLRStackItem (yyGLRStack* yystackp,
   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)




reply via email to

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