• Home
  • Raw
  • Download

Lines Matching refs:yylloc

1160 @vindex yylloc
1161 @cindex GLR parsers and @code{yylloc}
1165 you can then examine @code{yylval} and @code{yylloc} to determine the
1174 In this case, @code{yychar}, @code{yylval}, and @code{yylloc} are set to
2180 ++yylloc.last_column;
2185 yylloc.first_line = yylloc.last_line;
2186 yylloc.first_column = yylloc.last_column;
2194 ++yylloc.last_column;
2197 ++yylloc.last_column;
2213 ++yylloc.last_line;
2214 yylloc.last_column = 0;
2217 ++yylloc.last_column;
2225 In addition, it updates @code{yylloc}, the global variable (of type
2230 needed change is to initialize @code{yylloc}, for example in the
2238 yylloc.first_line = yylloc.last_line = 1;
2239 yylloc.first_column = yylloc.last_column = 0;
4093 initializes all these fields to 1 for @code{yylloc}. To initialize
4094 @code{yylloc} with a custom location type (or to chose a different
4176 @vindex yylloc
4179 This location is stored in @code{yylloc}.
4995 including @code{yylval} and @code{yylloc}.)
5006 @code{yylloc} become local variables in @code{yyparse}, and a different
5235 @code{YYLTYPE} and @code{yylloc} using a protocol similar to that of the
5800 @code{yynerrs}, @code{yylval}, @code{yylloc}, @code{yychar} and
6219 @vindex yylloc
6224 in the global variable @code{yylloc}. So @code{yylex} must store the proper
6227 By default, the value of @code{yylloc} is a structure and you need only
6234 The data type of @code{yylloc} has the name @code{YYLTYPE}.
6241 and @code{yylloc} cannot be used. (@xref{Pure Decl, ,A Pure (Reentrant)
6486 @deffn {Variable} yylloc
6489 Do not modify @code{yylloc} in a deferred semantic action (@pxref{GLR Semantic
6742 @vindex yylloc
6745 @code{yylval} and @code{yylloc}.
9994 @deftypemethod {parser} {int} yylex (semantic_type* @var{yylval}, location_type* @var{yylloc}, @var…
9996 value and location being @var{yylval} and @var{yylloc}. Invocations of
10077 yy::calcxx_parser::location_type* yylloc, \
10421 # define YY_USER_ACTION yylloc->columns (yyleng);
10426 yylloc->step ();
10428 @{blank@}+ yylloc->step ();
10429 [\n]+ yylloc->lines (yyleng); yylloc->step ();
10453 driver.error (*yylloc, "integer is out of range");
10466 . driver.error (*yylloc, "invalid character");
11722 @code{yydebug}, and (if locations are used) @code{yylloc}. If you use a
11918 @deffn {Variable} yylloc
11931 Data type of @code{yylloc}; by default, a structure with four
12314 @c LocalWords: longjmp fprintf stderr yylloc YYLTYPE cos ln Stallman Destructor