Lines Matching refs:s_top
32 s->s_top = &s->s_base[MAXSTACK]; in s_reset()
35 #define s_empty(s) ((s)->s_top == &(s)->s_base[MAXSTACK])
41 if (s->s_top == s->s_base) { in s_push()
45 top = --s->s_top; in s_push()
59 s->s_top++; in s_pop()
64 #define s_pop(s) (s)->s_top++
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); in shift()
115 s->s_top->s_state = newstate; in shift()
124 n = s->s_top->s_parent; in push()
129 s->s_top->s_state = newstate; in push()
187 node *n = ps->p_stack.s_top->s_parent;
243 dfa *d = ps->p_stack.s_top->s_dfa; in PyParser_AddToken()
244 state *s = &d->d_state[ps->p_stack.s_top->s_state]; in PyParser_AddToken()
247 d->d_name, ps->p_stack.s_top->s_state)); in PyParser_AddToken()
277 [ps->p_stack.s_top->s_state], in PyParser_AddToken()
282 ps->p_stack.s_top->s_state)); in PyParser_AddToken()
296 d = ps->p_stack.s_top->s_dfa; in PyParser_AddToken()