38 |
* File input method. |
* File input method. |
39 |
*/ |
*/ |
40 |
int lineno; |
int lineno; |
41 |
unsigned char *sp, *cp, *lp; |
const unsigned char *sp, *cp, *lp; |
42 |
int crflag; /* 1: return '\n', 0: doesn't return */ |
int crflag; /* 1: return '\n', 0: doesn't return */ |
43 |
int cmode; /* allow token which start with '#' */ |
int cmode; /* allow token which start with '#' */ |
44 |
int cppmode; /* allow '::' as a token */ |
int cppmode; /* allow '::' as a token */ |
294 |
int |
int |
295 |
atfirst_exceptspace(void) |
atfirst_exceptspace(void) |
296 |
{ |
{ |
297 |
char *start = sp; |
const char *start = sp; |
298 |
char *end = cp ? cp - 1 : lp; |
const char *end = cp ? cp - 1 : lp; |
299 |
|
|
300 |
while (start < end && *start && isspace(*start)) |
while (start < end && *start && isspace(*start)) |
301 |
start++; |
start++; |