/[bison]/bison/src/gram.h
ViewVC logotype

Diff of /bison/src/gram.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by akim, Sat Jun 15 18:23:33 2002 UTC revision 1.41 by hilfinger, Fri Jun 28 02:26:43 2002 UTC
# Line 68  Line 68 
68    
69     RULES[R].assoc -- the associativity of R.     RULES[R].assoc -- the associativity of R.
70    
71       RULES[R].dprec -- the dynamic precedence level of R (for GLR parsing).
72    
73       RULES[R].merger -- index of merging function for R (for GLR parsing).
74    
75     RULES[R].line -- the line where R was defined.     RULES[R].line -- the line where R was defined.
76    
77     RULES[R].useful -- TRUE iff the rule is used (i.e., FALSE if thrown     RULES[R].useful -- TRUE iff the rule is used (i.e., FALSE if thrown
# Line 141  typedef struct rule_s Line 145  typedef struct rule_s
145    /* This symbol provides both the associativity, and the precedence. */    /* This symbol provides both the associativity, and the precedence. */
146    symbol_t *prec;    symbol_t *prec;
147    
148      short dprec;
149      short merger;
150    
151    /* This symbol was attached to the rule via %prec. */    /* This symbol was attached to the rule via %prec. */
152    symbol_t *precsym;    symbol_t *precsym;
153    
# Line 163  extern symbol_number_t *token_translatio Line 170  extern symbol_number_t *token_translatio
170  extern int max_user_token_number;  extern int max_user_token_number;
171    
172    
173    /* GLR_PARSER is nonzero if the input file says to use the GLR
174       (Generalized LR) parser, and to output some additional
175       information used by the GLR algorithm. */
176    
177    extern int glr_parser;
178    
179  /* PURE_PARSER is nonzero if should generate a parser that is all pure  /* PURE_PARSER is nonzero if should generate a parser that is all pure
180     and reentrant.  */     and reentrant.  */
181    

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26