3 * Copyright (c) 2006 Larry Wall and others
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
8 * This file defines the layout of the parser object used by the parser
9 * and lexer (perly.c, toke,c).
13 YYSTYPE val; /* semantic value */
15 AV *comppad; /* value of PL_comppad when this value was created */
17 const char *name; /* token/rule name for -Dpv */
22 int yychar; /* The lookahead symbol. */
23 YYSTYPE yylval; /* value of lookahead symbol, set by yylex() */
25 /* Number of tokens to shift before error messages enabled. */
29 int yylen; /* length of active reduction */
30 yy_stack_frame *ps; /* current stack frame */
31 yy_stack_frame stack[1]; /* will actually be as many as needed */