diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-05 00:49:51 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-05 00:49:51 +0000 |
commit | fb205e7a8791bda7ee1f6f939d96b947f4eb160c (patch) | |
tree | 69226d3ccfe161c0d9e8b525fa590e24ec3fb4c0 /parser.h | |
parent | f06b58485d86282d0dbf47ffb2a797860a8346a7 (diff) | |
download | perl-fb205e7a8791bda7ee1f6f939d96b947f4eb160c.tar.gz |
migrate more variables to PL_parser struct:
PL_nexttoke PL_curforce PL_nextval PL_nexttype
p4raw-id: //depot/perl@31148
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -83,7 +83,16 @@ typedef struct yy_parser { SV *thisstuff; SV *thistoken; SV *thiswhite; + +/* What we know when we're in LEX_KNOWNEXT state. */ + NEXTTOKE nexttoke[5]; /* value of next token, if any */ + I32 curforce; +#else + YYSTYPE nextval[5]; /* value of next token, if any */ + I32 nexttype[5]; /* type of next token */ + I32 nexttoke; #endif + } yy_parser; |