Searched refs:YYRHSLOC (Results 1 – 18 of 18) sorted by relevance
/external/mesa3d/src/glsl/ |
D | glsl_parser_extras.h | 232 (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/ |
D | glcpp.h | 77 (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++/ |
D | calc++-parser.cc | 77 #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/ |
D | c++.m4 | 196 (Current).begin = YYRHSLOC (Rhs, 1).begin; \ 197 (Current).end = YYRHSLOC (Rhs, N).end; \ 201 (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \
|
D | c.m4 | 631 (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; \
|
D | glr.cc | 103 #define YYRHSLOC(Rhs, K) ((Rhs)[K].yystate.yyloc)
|
D | lalr1.cc | 302 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
|
D | yacc.c | 787 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
|
D | glr.c | 469 # define YYRHSLOC(Rhs, K) ((Rhs)[K].yystate.yyloc)
|
/external/bison/src/ |
D | parse-gram.c | 983 (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/ |
D | program_parse.y | 102 (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/ |
D | calc.at | 234 (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/ |
D | zconf.tab.c_shipped | 783 #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/ |
D | NEWS | 652 ** 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
|
D | ChangeLog-2012 | 1105 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.
|
D | ChangeLog | 867 * data/yacc.c (YYLLOC_DEFAULT, YYRHSLOC): Don't define when not
|
/external/bison/doc/ |
D | bison.texi | 4219 (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
|
D | bison.info | 4388 (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
|