parent
5fd16661e0
commit
5090099325
|
@ -633,7 +633,8 @@ main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
while (XCheckTypedEvent(disp, ev.type, &ev));
|
while (XCheckTypedEvent(disp, ev.type, &ev))
|
||||||
|
;
|
||||||
{
|
{
|
||||||
static Link *pl = NULL;
|
static Link *pl = NULL;
|
||||||
char found = 0;
|
char found = 0;
|
||||||
|
|
|
@ -65,7 +65,8 @@ cpp_lookup(const char *name, int len, int hash)
|
||||||
|
|
||||||
if (len < 0)
|
if (len < 0)
|
||||||
{
|
{
|
||||||
for (bp = name; IS_IDCHAR(*bp); bp++);
|
for (bp = name; IS_IDCHAR(*bp); bp++)
|
||||||
|
;
|
||||||
len = bp - name;
|
len = bp - name;
|
||||||
}
|
}
|
||||||
if (hash < 0)
|
if (hash < 0)
|
||||||
|
|
|
@ -607,7 +607,8 @@ cpp_define(cpp_reader * pfile, unsigned char *str)
|
||||||
cpp_error(pfile, "malformed option `-D %s'", str);
|
cpp_error(pfile, "malformed option `-D %s'", str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (is_idchar[*++p]);
|
while (is_idchar[*++p])
|
||||||
|
;
|
||||||
if (*p == 0)
|
if (*p == 0)
|
||||||
{
|
{
|
||||||
buf = (unsigned char *)alloca(p - buf + 4);
|
buf = (unsigned char *)alloca(p - buf + 4);
|
||||||
|
@ -670,7 +671,8 @@ make_assertion(cpp_reader * pfile, const char *option, const char *str)
|
||||||
cpp_error(pfile, "malformed option `%s %s'", option, str);
|
cpp_error(pfile, "malformed option `%s %s'", option, str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (is_idchar[*++p]);
|
while (is_idchar[*++p])
|
||||||
|
;
|
||||||
while (*p == ' ' || *p == '\t')
|
while (*p == ' ' || *p == '\t')
|
||||||
p++;
|
p++;
|
||||||
if (!(*p == 0 || *p == '('))
|
if (!(*p == 0 || *p == '('))
|
||||||
|
@ -1736,7 +1738,8 @@ check_macro_name(cpp_reader * pfile, unsigned char *symname, const char *usage)
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
int sym_length;
|
int sym_length;
|
||||||
|
|
||||||
for (p = symname; is_idchar[*p]; p++);
|
for (p = symname; is_idchar[*p]; p++)
|
||||||
|
;
|
||||||
sym_length = p - symname;
|
sym_length = p - symname;
|
||||||
if (sym_length == 0)
|
if (sym_length == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue