Lines Matching refs:Num
116 int num;
122 TRANSITIONS->states[Num]? Can be a token (amongst which the error
125 #define TRANSITION_SYMBOL(Transitions, Num) \
126 (Transitions->states[Num]->accessing_symbol)
128 /* Is the TRANSITIONS->states[Num] a shift? (as opposed to gotos). */
130 #define TRANSITION_IS_SHIFT(Transitions, Num) \
131 (ISTOKEN (TRANSITION_SYMBOL (Transitions, Num)))
133 /* Is the TRANSITIONS->states[Num] a goto?. */
135 #define TRANSITION_IS_GOTO(Transitions, Num) \
136 (!TRANSITION_IS_SHIFT (Transitions, Num))
138 /* Is the TRANSITIONS->states[Num] labelled by the error token? */
140 #define TRANSITION_IS_ERROR(Transitions, Num) \
141 (TRANSITION_SYMBOL (Transitions, Num) == errtoken->number)
146 #define TRANSITION_DISABLE(Transitions, Num) \
147 (Transitions->states[Num] = NULL)
149 #define TRANSITION_IS_DISABLED(Transitions, Num) \
150 (Transitions->states[Num] == NULL)
156 Iter < Transitions->num \
174 int num;
178 errs *errs_new (int num, symbol **tokens);
187 int num;
227 void state_transitions_set (state *s, int num, state **trans);
230 void state_reductions_set (state *s, int num, rule **reds);
235 void state_errs_set (state *s, int num, symbol **errors);