mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Fix unknownMacro
This commit is contained in:
parent
1d4a2b2b60
commit
4a56b9c2e9
@ -34,14 +34,6 @@ using namespace std;
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
#define UCP_FN(cat) \
|
||||
CodePointSet getUcp##cat(void) { \
|
||||
CodePointSet rv; \
|
||||
for (u32 i = 0; i < ARRAY_LENGTH(ucp_##cat##_def); i += 2) { \
|
||||
rv.setRange(ucp_##cat##_def[i], ucp_##cat##_def[i + 1]); \
|
||||
} \
|
||||
return rv; \
|
||||
}
|
||||
|
||||
struct unicase {
|
||||
unichar base;
|
||||
|
@ -36,6 +36,15 @@
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
#define UCP_FN(cat) \
|
||||
CodePointSet getUcp##cat(void) { \
|
||||
CodePointSet rv; \
|
||||
for (u32 i = 0; i < ARRAY_LENGTH(ucp_##cat##_def); i += 2) { \
|
||||
rv.setRange(ucp_##cat##_def[i], ucp_##cat##_def[i + 1]); \
|
||||
} \
|
||||
return rv; \
|
||||
}
|
||||
|
||||
class CodePointSet;
|
||||
void make_caseless(CodePointSet *cps);
|
||||
bool flip_case(unichar *c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user