diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-02-22 11:26:15 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-02-22 16:37:20 -0800 |
commit | a2867f88735d49c5b668c01984acdb846d8b2e71 (patch) | |
tree | 166b07643143a6716f9a4ec73c3578e24732ea0a /parser.h | |
parent | f266b7436d2272bf0b223187f6f07c5a7e18834c (diff) | |
download | perl-a2867f88735d49c5b668c01984acdb846d8b2e71.tar.gz |
parser.h: Make nexttoke unsigned
This is to avoid a compiler warning at toke.c:1912 (the assertion in
S_force_next). The only values this member can contain are 0 to 5, so
this change is safe. (I’ll probably change it to U8 after 5.22.)
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ typedef struct yy_parser { YYSTYPE nextval[5]; /* value of next token, if any */ I32 nexttype[5]; /* type of next token */ - I32 nexttoke; + U32 nexttoke; COP *saved_curcop; /* the previous PL_curcop */ char tokenbuf[256]; |