diff options
author | David Mitchell <davem@iabyn.com> | 2019-09-20 11:11:36 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-09-23 14:42:00 +0100 |
commit | e615875676e357cae7ff37441ffc2d44f0daa94e (patch) | |
tree | 6912c5633cff265eaa0d20a5ab7f2372fe67934a /parser.h | |
parent | f417cfa90670b17255b02c7dc1a88924c102479f (diff) | |
download | perl-e615875676e357cae7ff37441ffc2d44f0daa94e.tar.gz |
Signatures: change param count from IV to UV
For some reason I was storing the counts of sub signature parameters and
optional parameters as signed ints. Since these can never be negative,
change them to UV instead.
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,8 +114,8 @@ typedef struct yy_parser { bool sig_seen; /* the currently parsing sub has a signature */ /* these are valid while parsing a subroutine signature */ - IV sig_elems; /* number of signature elements seen so far */ - IV sig_optelems; /* number of optional signature elems seen */ + UV sig_elems; /* number of signature elements seen so far */ + UV sig_optelems; /* number of optional signature elems seen */ char sig_slurpy; /* the sigil of the slurpy var (or null) */ bool recheck_utf8_validity; |