regexec.c: Revamp the macros to load swashes
authorKarl Williamson <public@khwilliamson.com>
Wed, 19 Dec 2012 20:07:48 +0000 (13:07 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:32 +0000 (11:11 -0700)
commitc7304fe2c9745e293d050d449bf599d84292f7b7
tree22ac3236e4be53ff5a2830864b0fcbfcd4180d78
parenta500dc7205cb3bbe8af7be1567a47955abc5bc2a
regexec.c: Revamp the macros to load swashes

This changes the swash-load macros to use swash_init() and swash_fetch()
instead of calling is_utf8_xxx() functions that may only be needed for
this purpose (which will hence become eligible for removal because of
this commit).

The check that a known character matches the loaded swash is now only
done in DEBUGGING builds.  And the macro to load the DIGIT swash is
removed, as there are no remaining calls of it.
regexec.c