diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-08-22 18:15:26 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-08-24 19:02:57 -0700 |
commit | 8f0d8652cd7599dde9c54931b556782c1275ff88 (patch) | |
tree | 4ab09a49d43fabb0102122708a2d3a138165a456 /parser.h | |
parent | 00cd2f3f905f0f09d550c154ee4ad9619be66f0d (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |