summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-08-22 18:15:26 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-08-24 19:02:57 -0700
commit8f0d8652cd7599dde9c54931b556782c1275ff88 (patch)
tree4ab09a49d43fabb0102122708a2d3a138165a456 /parser.h
parent00cd2f3f905f0f09d550c154ee4ad9619be66f0d (diff)
downloadperl-8f0d8652cd7599dde9c54931b556782c1275ff88.tar.gz
parser.h: Comment that lex_expect is unused
There is at least one CPAN module (Data::Alias) that assigns to this. Removing it won’t shrink the parser struct because of alignment, so it doesn’t gain us anything. Just leave it for now. We can remove it later if we have to.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 75f676c1b1..11367b6c68 100644
--- a/parser.h
+++ b/parser.h
@@ -56,7 +56,7 @@ typedef struct yy_parser {
U8 lex_defer; /* state after determined token */
U8 lex_dojoin; /* doing an array interpolation
1 = @{...} 2 = ->@ */
- U8 lex_expect; /* expect after determined token */
+ U8 lex_expect; /* UNUSED */
U8 expect; /* how to interpret ambiguous tokens */
I32 lex_formbrack; /* bracket count at outer format level */
OP *lex_inpat; /* in pattern $) and $| are special */