regcomp.c: Collapse some switch() cases
authorKarl Williamson <public@khwilliamson.com>
Sun, 16 Dec 2012 03:24:24 +0000 (20:24 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:30 +0000 (11:11 -0700)
commitfc72cc635e34879e2a9c7b2f0f9de5c74324d2ab
tree5e7c7118a8d49b6fb5352e911d8983080dd2cb52
parenta5f07f583be93eaa77e8821e9a6441f4237a7928
regcomp.c: Collapse some switch() cases

Careful inspection of these 4 cases shows that each pair differs only in
one spot, which varies only a compile time, so a #ifdef can be used to
control that, and the cases can be collapsed.  This results in an extra
test for those platforms that don't have isblank().
regcomp.c