• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/libkern/c++/

Lines Matching refs:token

378 #define YYBACKUP(token, value) \
381 { yychar = (token), yylval = (value); \
537 int yychar1 = 0; /* lookahead token as an internal (translated) token number */
581 yychar = YYEMPTY; /* Cause a token to be read. */
694 /* Read a lookahead token if we need one and don't already have one. */
697 /* First try to decide what to do without reference to lookahead token. */
703 /* Not known => get a lookahead token if don't already have one. */
706 or a valid token in external form. */
712 fprintf(stderr, "Reading a token: ");
717 /* Convert token to internal form (in yychar1) for indexing tables with */
736 fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
738 of a token, for further debugging info. */
753 /* yyn is what to do for this token type in this state.
773 /* Shift the lookahead token. */
777 fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
780 /* Discard the token being shifted unless it is eof. */
1061 /* if just tried and failed to reuse lookahead token after an error, discard it. */
1069 fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
1075 /* Else will try to reuse lookahead token
1076 after shifting the error token. */
1078 yyerrstatus = 3; /* Each real token shifted decrements this */
1082 yyerrdefault: /* current state does not do anything special for the error token. */
1087 yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
1091 yyerrpop: /* pop the current state because it cannot handle the error token */
1137 fprintf(stderr, "Shifting error token, ");