regcomp.c: Introduce vFAIL2utf8f to replace the APPLY(X,Y) hack
authorBrian Fraser <fraserbn@gmail.com>
Fri, 6 Sep 2013 00:07:22 +0000 (21:07 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 10 Sep 2013 15:36:12 +0000 (08:36 -0700)
commit946095af7870f095499d025b0941f1cf17f679ed
tree35add221c6ba9290d2de23238631712188fff50d
parentc1d900c344469034b6bf062de718a276fbefdaf8
regcomp.c: Introduce vFAIL2utf8f to replace the APPLY(X,Y) hack

The APPLY() hack was added in the previous commit to get
vFAIL4("%"UTF8f, UTF8fARG(a,b,c)) working.  Without it,
vFAIL4 would complain about missing arguments, since it only
saw one, but if replaced with vFAIL2, then Simple_vFAIL2 would
complain about having too many arguments.

This commit introduces a vFAIL2utf8f macro that works around
this and enables us to remove the hack.
regcomp.c
t/porting/diag.t