COMP: fix warnings
This commit is contained in:
parent
381777f866
commit
ea59fb06df
@ -7,6 +7,7 @@ See the file COPYING for copying permission.
|
|||||||
#define IS_INVALID_CHAR(enc, ptr, n) (0)
|
#define IS_INVALID_CHAR(enc, ptr, n) (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INVALID_LEAD_CASE
|
||||||
#define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
|
#define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
|
||||||
case BT_LEAD ## n: \
|
case BT_LEAD ## n: \
|
||||||
if (end - ptr < n) \
|
if (end - ptr < n) \
|
||||||
@ -17,6 +18,7 @@ See the file COPYING for copying permission.
|
|||||||
} \
|
} \
|
||||||
ptr += n; \
|
ptr += n; \
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define INVALID_CASES(ptr, nextTokPtr) \
|
#define INVALID_CASES(ptr, nextTokPtr) \
|
||||||
INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
|
INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user