Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glsl/
Dglsl_parser.ypp288 $$->set_location(yylloc);
295 $$->set_location(yylloc);
302 $$->set_location(yylloc);
309 $$->set_location(yylloc);
316 $$->set_location(yylloc);
331 $$->set_location(yylloc);
341 $$->set_location(yylloc);
348 $$->set_location(yylloc);
354 $$->set_location(yylloc);
372 $$->set_location(yylloc);
[all …]
Dglsl_parser.cpp73 #define yylloc _mesa_glsl_lloc macro
1985 yyerror (&yylloc, state, YY_("syntax error: cannot back up")); \
2040 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
2042 # define YYLEX yylex (&yylval, &yylloc, scanner)
2535 YYLTYPE yylloc; local
2617 yylloc.first_line = yylloc.last_line = 1;
2618 yylloc.first_column = yylloc.last_column = 1;
2626 yylloc.first_line = 1;
2627 yylloc.first_column = 1;
2628 yylloc.last_line = 1;
[all …]
Dglsl_lexer.lpp32 yylloc->source = 0; \
33 yylloc->first_column = yycolumn + 1; \
34 yylloc->first_line = yylineno + 1; \
60 _mesa_glsl_error(yylloc, yyextra, \
116 yylloc->source = strtol(ptr, NULL, 0);
Dglsl_lexer.cpp1011 yylloc->source = 0; \
1012 yylloc->first_column = yycolumn + 1; \
1013 yylloc->first_line = yylineno + 1; \
1039 _mesa_glsl_error(yylloc, yyextra, \
1110 # define yylloc yyg->yylloc_r macro
1299 yylloc = yylloc_param;
1422 yylloc->source = strtol(ptr, NULL, 0);
3488 return yylloc; in _mesa_glsl_get_lloc()
3494 yylloc = yylloc_param; in _mesa_glsl_set_lloc()
Dglsl_parser_extras.h194 extern int _mesa_glsl_lex(union YYSTYPE *yylval, YYLTYPE *yylloc,
/external/bison/src/
Dparse-gram.c69 #define yylloc gram_lloc macro
234 gram_error (&yylloc, Msg)
915 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
917 # define YYLEX yylex (&yylval, &yylloc)
1486 YYLTYPE yylloc; local
1557 yylloc.first_line = yylloc.last_line = 1;
1558 yylloc.first_column = yylloc.last_column = 0;
1567 yylloc.start.file = yylloc.end.file = current_file;
1568 yylloc.start.line = yylloc.end.line = 1;
1569 yylloc.start.column = yylloc.end.column = 0;
[all …]
Dparse-gram.y49 gram_error (&yylloc, Msg)
/external/mesa3d/src/glsl/glcpp/
Dglcpp-lex.l41 yylloc->first_column = yycolumn + 1; \
42 yylloc->first_line = yylineno; \
50 yylloc->source = 0; \
122 yylloc->source = strtol(ptr, NULL, 0);
198 glcpp_error(yylloc, yyextra, "#error%s", p);
Dglcpp-parse.c211 glcpp_parser_lex (YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser);
975 yyerror (&yylloc, parser, YY_("syntax error: cannot back up")); \
1030 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
1032 # define YYLEX yylex (&yylval, &yylloc, parser)
1525 YYLTYPE yylloc; local
1607 yylloc.first_line = yylloc.last_line = 1;
1608 yylloc.first_column = yylloc.last_column = 1;
1616 yylloc.first_line = 1;
1617 yylloc.first_column = 1;
1618 yylloc.last_line = 1;
[all …]
Dglcpp-lex.c687 yylloc->first_column = yycolumn + 1; \
688 yylloc->first_line = yylineno; \
696 yylloc->source = 0; \
763 # define yylloc yyg->yylloc_r macro
961 yylloc = yylloc_param;
1160 yylloc->source = strtol(ptr, NULL, 0);
1276 glcpp_error(yylloc, yyextra, "#error%s", p);
2476 return yylloc; in glcpp_get_lloc()
2482 yylloc = yylloc_param; in glcpp_set_lloc()
Dglcpp-parse.y141 glcpp_parser_lex (YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser);
503 $$->location = yylloc;
507 $$->location = yylloc;
511 $$->location = yylloc;
515 $$->location = yylloc;
519 $$->location = yylloc;
1707 glcpp_parser_lex (YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser) in glcpp_parser_lex() argument
1713 ret = glcpp_lex (yylval, yylloc, parser->scanner); in glcpp_parser_lex()
/external/bison/data/
Dyacc.c50 # Arguments passed to yyerror: user args plus yylloc.
52 [b4_yacc_pure_if([b4_locations_if([&yylloc, ])])dnl
62 b4_locations_if([, [[YYLTYPE *], [&yylloc]]])m4_ifdef([b4_lex_param], [, ])])dnl
161 b4_locations_if([#define yylloc b4_prefix[]lloc])])[
636 # define YYLEX yylex (]b4_pure_if([&yylval[]b4_locations_if([, &yylloc]), ])[YYLEX_PARAM)
976 YYLTYPE yylloc;])
1065 yylloc.first_line = yylloc.last_line = 1;
1066 yylloc.first_column = yylloc.last_column = 0;
1070 m4_pushdef([b4_at_dollar], [m4_define([b4_at_dollar_used])yylloc])dnl
1081 m4_ifdef([b4_at_dollar_used], [[ yylsp[0] = yylloc;
[all …]
Dglr.c55 b4_locations_if([, [[YYLTYPE *], [&yylloc]]])])dnl
61 # Optional effective arguments passed to yyerror: user args plus yylloc, and
70 # Same as above, but on the look-ahead, hence &yylloc instead of yylocp.
72 [b4_pure_if([b4_locations_if([&yylloc, ])])dnl
85 # Same as above, but on the look-ahead, hence &yylloc instead of yylocp.
87 [b4_pure_if([b4_locations_if([, &yylloc])])[]b4_user_args])
162 #define yylloc b4_prefix[]lloc]) macro
540 #undef yylloc
541 #define yylloc (yystackp->yyloc)
546 #define b4_prefix[]lloc yylloc])],
[all …]
Dlalr1.cc534 location_type yylloc;
548 m4_pushdef([b4_at_dollar], [yylloc])dnl
565 yylocation_stack_.push (yylloc);
587 b4_locations_if([, [[location*], [&yylloc]]])dnl
601 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
625 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
632 yylocation_stack_.push (yylloc);
706 error (yylloc, yysyntax_error_ (yystate]dnl
710 yyerror_range[0] = yylloc;
724 yydestruct_ ("Error: discarding", yytoken, &yylval, &yylloc);
[all …]
/external/bison/tests/
Dglr-regression.at701 yylloc.first_column = 1;
702 yylloc.last_column = 9;
705 yylloc.first_column = 13;
706 yylloc.last_column = 17;
1154 yylloc.first_line = yylloc.last_line = 1;
1155 yylloc.first_column = yylloc.last_column = i + 1;
1173 printf ("', yylloc=(%d,%d),(%d,%d)",
1174 yylloc.first_line, yylloc.first_column,
1175 yylloc.last_line, yylloc.last_column);
1196 yychar='a', yylval='A', yylloc=(1,1),(1,1)
[all …]
Dcxx-type.at158 # undef yylloc
159 # define yylloc (*llocp)
185 yylloc.first_line = yylloc.last_line = lineNum;
186 yylloc.first_column = colNum;
214 yylloc.last_column = colNum-1;
Dtestsuite7026 (yylloc).first_line = (yylloc).first_column = 10 * c;
7027 (yylloc).last_line = (yylloc).last_column = (yylloc).first_line + 9;
7034 printf (" (%d@%d-%d)\n", c, RANGE ((yylloc)));
7041 printf ("%d-%d: %s\n", RANGE (yylloc), msg);
7541 (yylloc).first_line = (yylloc).first_column = 10 * c;
7542 (yylloc).last_line = (yylloc).last_column = (yylloc).first_line + 9;
7549 printf (" (%d@%d-%d)\n", c, RANGE ((yylloc)));
7556 printf ("%d-%d: %s\n", RANGE (yylloc), msg);
9018 (yylloc).first_line = (yylloc).first_column = 10 * c;
9019 (yylloc).last_line = (yylloc).last_column = (yylloc).first_line + 9;
[all …]
Dlocal.at102 [m4_pushdef([AT_LOC], [(yylloc)])
Dactions.at337 printf ("%d-%d: %s\n", RANGE (yylloc), msg);
/external/e2fsprogs/intl/
Dplural.c504 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
506 # define YYLEX yylex (&yylval, &yylloc)
661 YYLTYPE yylloc;
940 *++yylsp = yylloc; in yyparse()
1277 *++yylsp = yylloc; in yyparse()
/external/bison/doc/
Dbison.texinfo1106 @vindex yylloc
1107 @cindex @acronym{GLR} parsers and @code{yylloc}
1111 you can then examine @code{yylval} and @code{yylloc} to determine the
1120 In this case, @code{yychar}, @code{yylval}, and @code{yylloc} are set to
2088 ++yylloc.last_column;
2093 yylloc.first_line = yylloc.last_line;
2094 yylloc.first_column = yylloc.last_column;
2102 ++yylloc.last_column;
2105 ++yylloc.last_column;
2120 ++yylloc.last_line;
[all …]
Dbison.info1320 `YYEOF', you can then examine `yylval' and `yylloc' to determine the
1326 analysis. In this case, `yychar', `yylval', and `yylloc' are set to
2225 ++yylloc.last_column;
2228 yylloc.first_line = yylloc.last_line;
2229 yylloc.first_column = yylloc.last_column;
2235 ++yylloc.last_column;
2238 ++yylloc.last_column;
2252 ++yylloc.last_line;
2253 yylloc.last_column = 0;
2256 ++yylloc.last_column;
[all …]
Drefcard.tex464 \key{Source position of current token.} {yylloc}
/external/libpcap/
Dgrammar.c1722 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1743 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
/external/elfutils/src/
Dldscript.c1524 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1550 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);

12