Home
last modified time | relevance | path

Searched refs:YYRHSLOC (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/glsl/
Dglsl_parser_extras.h232 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
233 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
234 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
235 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
240 YYRHSLOC(Rhs, 0).last_line; \
242 YYRHSLOC(Rhs, 0).last_column; \
/external/mesa3d/src/glsl/glcpp/
Dglcpp.h77 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
78 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
79 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
80 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
85 YYRHSLOC(Rhs, 0).last_line; \
87 YYRHSLOC(Rhs, 0).last_column; \
/external/bison/examples/calc++/
Dcalc++-parser.cc77 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) macro
87 (Current).begin = YYRHSLOC (Rhs, 1).begin; \
88 (Current).end = YYRHSLOC (Rhs, N).end; \
92 (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \
/external/bison/data/
Dc++.m4196 (Current).begin = YYRHSLOC (Rhs, 1).begin; \
197 (Current).end = YYRHSLOC (Rhs, N).end; \
201 (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \
Dc.m4631 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
632 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
633 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
634 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
639 YYRHSLOC (Rhs, 0).last_line; \
641 YYRHSLOC (Rhs, 0).last_column; \
Dglr.cc103 #define YYRHSLOC(Rhs, K) ((Rhs)[K].yystate.yyloc)
Dlalr1.cc302 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
Dyacc.c787 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
Dglr.c469 # define YYRHSLOC(Rhs, K) ((Rhs)[K].yystate.yyloc)
/external/bison/src/
Dparse-gram.c983 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
984 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
985 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
986 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
991 YYRHSLOC (Rhs, 0).last_line; \
993 YYRHSLOC (Rhs, 0).last_column; \
998 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) macro
/external/mesa3d/src/mesa/program/
Dprogram_parse.y102 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
103 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
104 (Current).position = YYRHSLOC(Rhs, 1).position; \
105 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
106 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
108 (Current).first_line = YYRHSLOC(Rhs, 0).last_line; \
110 (Current).first_column = YYRHSLOC(Rhs, 0).last_column; \
112 (Current).position = YYRHSLOC(Rhs, 0).position \
/external/bison/tests/
Dcalc.at234 (Current).first = YYRHSLOC (Rhs, 1).first; \
235 (Current).last = YYRHSLOC (Rhs, N).last; \
239 (Current).first = (Current).last = YYRHSLOC (Rhs, 0).last; \
/external/toybox/kconfig/
Dzconf.tab.c_shipped783 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
789 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
790 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
791 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
792 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
797 YYRHSLOC (Rhs, 0).last_line; \
799 YYRHSLOC (Rhs, 0).last_column; \
/external/bison/
DNEWS652 ** C++ parsers use YYRHSLOC:
654 Similarly to the C parsers, the C++ parsers now define the YYRHSLOC
678 (Current).first = YYRHSLOC (Rhs, 1).first; \
679 (Current).last = YYRHSLOC (Rhs, N).last; \
683 (Current).first = (Current).last = YYRHSLOC (Rhs, 0).last; \
2033 LocalWords: destructor lookahead YYRHSLOC YYLLOC Rhs ifndef YYFAIL cpp sr rr
DChangeLog-20121105 c++: use YYRHSLOC.
1106 * data/lalr1.cc (YYRHSLOC): New.
1110 * tests/calc.at (YYLLOC_DEFAULT): Use YYRHSLOC.
11494 * data/glr.c (YYRHSLOC): Don't have two definitions, one for
11500 so that the normal-case YYRHSLOC works for the error case too.
11502 * data/yacc.c (YYRHSLOC): New macro, taken from glr.c.
11506 and lalr parsers. Mention YYRHSLOC. Mention what happens when
11667 * data/glr.c (YYRHSLOC): Move its definition next to its uses.
12854 (YYRHSLOC): Add parentheses, and define only if locations used.
DChangeLog867 * data/yacc.c (YYLLOC_DEFAULT, YYRHSLOC): Don't define when not
/external/bison/doc/
Dbison.texi4219 (Cur).first_line = YYRHSLOC(Rhs, 1).first_line; \
4220 (Cur).first_column = YYRHSLOC(Rhs, 1).first_column; \
4221 (Cur).last_line = YYRHSLOC(Rhs, N).last_line; \
4222 (Cur).last_column = YYRHSLOC(Rhs, N).last_column; \
4227 YYRHSLOC(Rhs, 0).last_line; \
4229 YYRHSLOC(Rhs, 0).last_column; \
4236 where @code{YYRHSLOC (rhs, k)} is the location of the @var{k}th symbol
12319 @c LocalWords: Rhs YYRHSLOC LE nonassoc op deffn typeless yynerrs nonterminal
Dbison.info4388 (Cur).first_line = YYRHSLOC(Rhs, 1).first_line; \
4389 (Cur).first_column = YYRHSLOC(Rhs, 1).first_column; \
4390 (Cur).last_line = YYRHSLOC(Rhs, N).last_line; \
4391 (Cur).last_column = YYRHSLOC(Rhs, N).last_column; \
4396 YYRHSLOC(Rhs, 0).last_line; \
4398 YYRHSLOC(Rhs, 0).last_column; \
4402 where `YYRHSLOC (rhs, k)' is the location of the Kth symbol in RHS when