Home | History | Annotate | Download | only in src

Lines Matching refs:Rhs

222 #define YYLLOC_DEFAULT(Current, Rhs, N)  (Current) = lloc_default (Rhs, N)
586 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
601 /* YYRHS -- A `-1'-separated list of the rules' RHS. */
664 "@3", "rhses.1", "rhs", "symbol", "action", "@4", "string_as_id",
870 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
872 the previous symbol: RHS[0] (always defined). */
874 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
876 # define YYLLOC_DEFAULT(Current, Rhs, N) \
880 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
881 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
882 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
883 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
888 YYRHSLOC (Rhs, 0).last_line; \
890 YYRHSLOC (Rhs, 0).last_column; \
1539 /* The number of symbols on the RHS of the reduced rule.
2386 right-hand side is RHS[1] ... RHS[N]. Ignore empty nonterminals in
2388 boundary of RHS[0] if the right-hand side is empty. */
2391 lloc_default (YYLTYPE const *rhs, int n)
2396 /* SGI MIPSpro 7.4.1m miscompiles "loc.start = loc.end = rhs[n].end;".
2398 loc.start = rhs[n].end;
2399 loc.end = rhs[n].end;
2405 if (! equal_boundaries (rhs[i].start, rhs[i].end))
2407 loc.start = rhs[i].start;