Home
last modified time | relevance | path

Searched refs:yychar (Results 1 – 25 of 25) sorted by relevance

/external/webkit/Tools/android/flex-2.5.4a/MISC/
Dparse.c7 #define yyclearin (yychar=(-1))
393 int yychar; variable
563 yychar = (-1); in yyparse()
571 if (yychar < 0) in yyparse()
573 if ((yychar = yylex()) < 0) yychar = 0; in yyparse()
578 if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; in yyparse()
581 YYPREFIX, yystate, yychar, yys); in yyparse()
585 if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 && in yyparse()
586 yyn <= YYTABLESIZE && yycheck[yyn] == yychar) in yyparse()
599 yychar = (-1); in yyparse()
[all …]
/external/bison/examples/calc++/
Dcalc++-parser.cc139 #define yyclearin (yychar = yyempty_)
336 int yychar = yyempty_; in parse() local
410 if (yychar == yyempty_) in parse()
413 yychar = yylex (&yylval, &yylloc, driver); in parse()
417 if (yychar <= yyeof_) in parse()
419 yychar = yytoken = yyeof_; in parse()
424 yytoken = yytranslate_ (yychar); in parse()
448 yychar = yyempty_; in parse()
599 yytoken = yytranslate_ (yychar); in parse()
605 if (yychar == yyempty_) in parse()
[all …]
/external/e2fsprogs/intl/
Dplural.c10 #define yychar __gettextchar macro
453 #define yyclearin (yychar = YYEMPTY)
466 if (yychar == YYEMPTY && yylen == 1) \
468 yychar = (Token); \
470 yychar1 = YYTRANSLATE (yychar); \
648 int yychar; \
741 yychar = YYEMPTY; /* Cause a token to be read. */ in yyparse()
868 if (yychar == YYEMPTY) in yyparse()
871 yychar = YYLEX; in yyparse()
876 if (yychar <= 0) /* This means end of input. */ in yyparse()
[all …]
/external/bison/data/
Dlalr1.cc346 #define yyclearin (yychar = yyempty_)
512 int yychar = yyempty_;
581 if (yychar == yyempty_)
584 yychar = ]b4_c_function_call([yylex], [int],
591 if (yychar <= yyeof_)
593 yychar = yytoken = yyeof_;
598 yytoken = yytranslate_ (yychar);
622 yychar = yyempty_;
711 yytoken = yytranslate_ (yychar);
717 if (yychar == yyempty_)
[all …]
Dyacc.c183 int yychar;
365 #define yychar ]b4_prefix[char
737 #define yyclearin (yychar = YYEMPTY)
765 if (yychar == YYEMPTY) \
767 yychar = (Token); \
1425 int yychar;
1443 yychar = YYLEX;
1445 …yypush_parse (yyps_local]b4_pure_if([[, yychar, &yylval]b4_locations_if([[, &yylloc]])])m4_ifset([…
1524 int yypushed_char = yychar;
1574 yychar = YYEMPTY; /* Cause a token to be read. */
[all …]
Dglr.c201 #define yychar ]b4_prefix[char macro
480 #undef yychar
481 #define yychar (yystackp->yyrawchar)
488 #define b4_prefix[]char yychar
495 int yychar;])[
850 # define yyclearin (yychar = YYEMPTY)
1053 yynewOption->yyrawchar = yychar;
1649 int yychar_current = yychar;
1652 yychar = yyopt->yyrawchar;
1658 yychar = yychar_current;
[all …]
Dlalr1.java432 int yychar = yyempty_;
492 if (yychar == yyempty_)
495 yychar = yylex ();]
503 if (yychar <= EOF)
505 yychar = yytoken = EOF;
510 yytoken = yytranslate_ (yychar);
540 yychar = yyempty_;
581 if (yychar == yyempty_)
592 if (yychar <= EOF)
595 if (yychar == EOF)
[all …]
/external/bison/tests/
Dglr-regression.at1070 - Defaulted state with initial yychar: yychar == YYEMPTY.
1071 - Nondefaulted state: yychar != YYEMPTY.
1072 - Defaulted state after lookahead: yychar != YYEMPTY.
1073 - Defaulted state after shift: yychar == YYEMPTY.
1125 yychar = 'a';
1138 printf ("%s:\n yychar=", reduction);
1139 if (yychar == YYEMPTY)
1141 else if (yychar == YYEOF)
1145 printf ("'%c', yylval='", yychar);
1158 yychar = '#'; /* Not a token in the grammar. */
[all …]
Dpush.at116 yychar = 0;
Dconflicts.at365 // problem as it meant yychar was not translated into yytoken before
381 assert (yychar == ]AT_SKEL_CC_IF([[yyempty_]], [[YYEMPTY]])[);
383 yychar = 'b';
409 # No Java test because yychar cannot be manipulated by users.
Dactions.at1667 // In a previous version of Bison, yychar assigned by the semantic
1676 // that has set yychar might not always return normally. Instead,
1680 assert (yychar == YYEMPTY);
1681 yychar = 'b';
Dtestsuite53108 // problem as it meant yychar was not translated into yytoken before
53124 assert (yychar == YYEMPTY);
53126 yychar = 'b';
53371 // problem as it meant yychar was not translated into yytoken before
53387 assert (yychar == YYEMPTY);
53389 yychar = 'b';
53633 // problem as it meant yychar was not translated into yytoken before
53649 assert (yychar == yyempty_);
53651 yychar = 'b';
53900 // problem as it meant yychar was not translated into yytoken before
[all …]
/external/elfutils/src/
Dldscript.c66 #define yychar ldchar macro
783 #define yyclearin (yychar = YYEMPTY)
802 if (yychar == YYEMPTY && yylen == 1) \
804 yychar = (Token); \
806 yytoken = YYTRANSLATE (yychar); \
1160 yysyntax_error (char *yyresult, int yystate, int yychar) in yysyntax_error() argument
1168 int yytype = YYTRANSLATE (yychar); in yysyntax_error()
1313 int yychar; variable
1402 yychar = YYEMPTY; /* Cause a token to be read. */
1510 if (yychar == YYEMPTY)
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliFlexLexer.java2873 private int yychar; field in smaliFlexLexer
2969 token.setStartIndex(yychar); in newToken()
2970 token.setStopIndex(yychar + yylength() - 1); in newToken()
2991 token.setStartIndex(yychar); in invalidToken()
2992 token.setStopIndex(yychar + yylength() - 1); in invalidToken()
3008 stringStartChar = yychar; in beginStringOrChar()
3021 token.setStopIndex(yychar + yylength() - 1); in endStringOrChar()
3038 token.setStopIndex(yychar + yylength() - 1); in invalidStringOrChar()
3171 yyline = yychar = yycolumn = 0; in yyreset()
3294 yychar+= zzMarkedPosL-zzStartRead; in yylex()
/external/libpcap/
Dgrammar.c56 #define yychar pcap_char macro
1127 #define yyclearin (yychar = YYEMPTY)
1146 if (yychar == YYEMPTY && yylen == 1) \
1148 yychar = (Token); \
1150 yytoken = YYTRANSLATE (yychar); \
1518 int yychar; variable
1597 yychar = YYEMPTY; /* Cause a token to be read. */
1708 if (yychar == YYEMPTY)
1711 yychar = YYLEX;
1714 if (yychar <= YYEOF)
[all …]
/external/bison/src/
Dparse-gram.c69 #define yychar gram_char macro
925 #define yyclearin (yychar = YYEMPTY)
953 if (yychar == YYEMPTY) \
955 yychar = (Token); \
1882 int yychar; local
1995 yychar = YYEMPTY; /* Cause a token to be read. */
2111 if (yychar == YYEMPTY)
2114 yychar = YYLEX;
2117 if (yychar <= YYEOF)
2119 yychar = yytoken = YYEOF;
[all …]
/external/elfutils/libcpu/
Di386_parse.c66 #define yychar i386_char macro
774 #define yyclearin (yychar = YYEMPTY)
793 if (yychar == YYEMPTY && yylen == 1) \
795 yychar = (Token); \
797 yytoken = YYTRANSLATE (yychar); \
1151 yysyntax_error (char *yyresult, int yystate, int yychar) in yysyntax_error() argument
1159 int yytype = YYTRANSLATE (yychar); in yysyntax_error()
1304 int yychar; variable
1393 yychar = YYEMPTY; /* Cause a token to be read. */
1501 if (yychar == YYEMPTY)
[all …]
/external/smali/smali/src/main/jflex/
DsmaliLexer.flex97 token.setStartIndex(yychar);
98 token.setStopIndex(yychar + yylength() - 1);
119 token.setStartIndex(yychar);
120 token.setStopIndex(yychar + yylength() - 1);
136 stringStartChar = yychar;
149 token.setStopIndex(yychar + yylength() - 1);
166 token.setStopIndex(yychar + yylength() - 1);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
Dglslang_tab.cpp1294 #define yyclearin (yychar = YYEMPTY)
1313 if (yychar == YYEMPTY && yylen == 1) \
1315 yychar = (Token); \
1317 yytoken = YYTRANSLATE (yychar); \
1675 yysyntax_error (char *yyresult, int yystate, int yychar) in yysyntax_error() argument
1683 int yytype = YYTRANSLATE (yychar); in yysyntax_error()
1859 int yychar; local
1919 yychar = YYEMPTY; /* Cause a token to be read. */
2027 if (yychar == YYEMPTY)
2030 yychar = YYLEX;
[all …]
/external/bison/
DTODO107 ** yychar == yyempty_
110 if (yychar <= YYEOF)
113 if (yychar == YYEOF)
117 There are only two yychar that can be <= YYEOF: YYEMPTY and YYEOF.
118 But I can't produce the situation where yychar is YYEMPTY here, is it
DChangeLog-2012831 On master, there is no yychar in lalr1.cc, but there is on
832 branch-2.5, and the prior cherry-pick of "Fix handling of yychar
835 * data/lalr1.cc (yy::parser::parse): Translate yychar before
838 Extend to test yychar manipulation with lalr1.cc.
1566 Fix handling of yychar manipulation in user semantic actions.
1567 The problem was that yacc.c didn't always update the yychar
1569 fine. glr.c appears to already translate yychar before every
1570 use. lalr1.cc does not define yychar and does not document its
1573 update. In lalr1.java, yychar is out of scope during semantic
1576 * data/yacc.c (YYBACKUP): Don't bother translating yychar into
[all …]
DNEWS648 altered yychar, the parser in some cases used the old yychar value to
2032 LocalWords: IELR ielr Lookahead YYERROR nonassoc LALR's api lookaheads yychar
/external/bison/doc/
Drefcard.tex459 \key{Current lookahead token.} {yychar}
490 \key{Value in {\tt yychar} if no lookahead token.} {YYEMPTY}
Dbison.texi1156 @vindex yychar
1157 @cindex GLR parsers and @code{yychar}
1162 In any semantic action, you can examine @code{yychar} to determine the type of
1164 After checking that @code{yychar} is not set to @code{YYEMPTY} or @code{YYEOF},
1174 In this case, @code{yychar}, @code{yylval}, and @code{yylloc} are set to
5080 the generated parser will change. The @code{yychar} variable becomes
5087 extern int yychar;
5091 yychar = yylex ();
5097 That's it. Notice the next token is put into the global variable @code{yychar}
5800 @code{yynerrs}, @code{yylval}, @code{yylloc}, @code{yychar} and
[all …]
Dbison.info1745 In any semantic action, you can examine `yychar' to determine the
1747 reduction. After checking that `yychar' is not set to `YYEMPTY' or
1754 analysis. In this case, `yychar', `yylval', and `yylloc' are set to
5087 the generated parser will change. The `yychar' variable becomes a
5093 extern int yychar;
5097 yychar = yylex ();
5103 `yychar' for use by the next invocation of the `yypush_parse' function.
5682 `yynerrs', `yylval', `yylloc', `yychar' and `yydebug'. If you use a
6244 Value stored in `yychar' when there is no lookahead token.
6247 Value stored in `yychar' when the lookahead is the end of the input
[all …]