475 |
} \ |
} \ |
476 |
} |
} |
477 |
|
|
478 |
/* Get the next character, testing for UTF-8 mode, and advancing the pointer */ |
/* Get the next character, testing for UTF-8 mode, and advancing the pointer. |
479 |
|
This is called when we don't know if we are in UTF-8 mode. */ |
480 |
|
|
481 |
#define GETCHARINCTEST(c, eptr) \ |
#define GETCHARINCTEST(c, eptr) \ |
482 |
c = *eptr++; \ |
c = *eptr++; \ |
513 |
|
|
514 |
/* Get the next UTF-8 character, testing for UTF-8 mode, not advancing the |
/* Get the next UTF-8 character, testing for UTF-8 mode, not advancing the |
515 |
pointer, incrementing length if there are extra bytes. This is called when we |
pointer, incrementing length if there are extra bytes. This is called when we |
516 |
know we are in UTF-8 mode. */ |
do not know if we are in UTF-8 mode. */ |
517 |
|
|
518 |
#define GETCHARLENTEST(c, eptr, len) \ |
#define GETCHARLENTEST(c, eptr, len) \ |
519 |
c = *eptr; \ |
c = *eptr; \ |