summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-21 19:05:08 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-21 19:05:08 +0000
commit651b5b28673befa3f36a39b00591c15d5b30cca2 (patch)
treea0b972c92157745dc69c47556215c9c238d1c9b7 /parser.h
parent9f7da6d537556dbe72c14a7f3fb5896e5591eace (diff)
downloadperl-651b5b28673befa3f36a39b00591c15d5b30cca2.tar.gz
Several members of struct yy_parser can go on a diet. Some I32s were
actually only holding chars. p4raw-id: //depot/perl@31015
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/parser.h b/parser.h
index dd9f28ed23..da6d63bfa4 100644
--- a/parser.h
+++ b/parser.h
@@ -42,19 +42,19 @@ typedef struct yy_parser {
I32 lex_casemods; /* casemod count */
char *lex_brackstack;/* what kind of brackets to pop */
char *lex_casestack; /* what kind of case mods in effect */
- U32 lex_defer; /* state after determined token */
- I32 lex_dojoin; /* doing an array interpolation */
- int lex_expect; /* expect after determined token */
+ U8 lex_defer; /* state after determined token */
+ bool lex_dojoin; /* doing an array interpolation */
+ U8 lex_expect; /* expect after determined token */
I32 lex_formbrack; /* bracket count at outer format level */
OP *lex_inpat; /* in pattern $) and $| are special */
OP *lex_op; /* extra info to pass back on op */
SV *lex_repl; /* runtime replacement from s/// */
- I32 lex_inwhat; /* what kind of quoting are we in */
+ U16 lex_inwhat; /* what kind of quoting are we in */
I32 lex_starts; /* how many interps done on level */
SV *lex_stuff; /* runtime pattern from m// or s/// */
I32 multi_start; /* 1st line of multi-line string */
- I32 multi_open; /* delimiter of said string */
- I32 multi_close; /* delimiter of said string */
+ char multi_open; /* delimiter of said string */
+ char multi_close; /* delimiter of said string */
char pending_ident; /* pending identifier lookup */
bool preambled;
SUBLEXINFO sublex_info;