Home | History | Annotate | Download | only in Parser

Lines Matching refs:STR

108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset)
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset);
137 classify(parser_state *ps, int type, char *str)
143 register char *s = str;
190 if (STR(ch) == NULL || strcmp(STR(ch), "from") != 0)
193 if (NCH(ch) == 1 && STR(CHILD(ch, 0)) &&
194 strcmp(STR(CHILD(ch, 0)), "__future__") != 0)
206 char *str_ch = STR(CHILD(cch, 0));
220 PyParser_AddToken(register parser_state *ps, register int type, char *str,
226 D(printf("Token %s/'%s' ... ", _PyParser_TokenNames[type], str));
229 ilabel = classify(ps, type, str);
262 if ((err = shift(&ps->p_stack, type, str,
339 l.lb_str = STR(n);
367 printf("(%s)", STR(n));