regcomp.c: Free up ANYOF flag bit
authorKarl Williamson <public@khwilliamson.com>
Thu, 27 Dec 2012 21:35:46 +0000 (14:35 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 28 Dec 2012 17:38:56 +0000 (10:38 -0700)
commit899d20b99829f8ecdc14e1351b533bc62a354dea
treea778ee1de5f1d60dc32125a63f40ef41fe525d94
parent9aa1e39f96ac28f6ce5d814d9a1eccf1464aba4a
regcomp.c: Free up ANYOF flag bit

This frees up a flag bit for ANYOF regnodes.  The freed bit is currently
not needed for other uses; I decided to make the change now, while how
to do it was fresh in my mind.  There are fewer shifts and masks as a
result, as well.

This commit moves the information this bit contains to the otherwise
unused 'next_off' field in the synthetic start class.  This paradigm
could be used to pass information to the regex matching code for just
the synthetic start class, but the current bit is used just during
compilation.
regcomp.c
regcomp.h