This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use minimal struct formal parameter
authorKarl Williamson <public@khwilliamson.com>
Wed, 5 Mar 2014 00:55:10 +0000 (17:55 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 5 Mar 2014 01:08:27 +0000 (18:08 -0700)
commit5c0f85ef5653741c0f98cda1d31c11f2af8d121c
tree08038ecaa0bea679a960e83dfe513586fc5cdb57
parent1ea8b7fed3b179aacae584e0c7389ab20fd4c388
regcomp.c: Use minimal struct formal parameter

The static function get_ANYOF_cp_list_for_ssc() takes a struct formal
parameter that is a superset of what it actually uses.  The calls to it
have to cast to that superset.  By setting the parameter to the smallest
structure it uses, we simplify things.
embed.fnc
proto.h
regcomp.c