Merge branch 'rs/test-ctype-eof'
ctype tests have been taught to test EOF, too. * rs/test-ctype-eof: test-ctype: check EOFmaint
commit
6710b68db1
|
@ -27,6 +27,8 @@ static int is_in(const char *s, int ch)
|
||||||
if (is_in(s, i) != t(i)) \
|
if (is_in(s, i) != t(i)) \
|
||||||
report_error(#t, i); \
|
report_error(#t, i); \
|
||||||
} \
|
} \
|
||||||
|
if (t(EOF)) \
|
||||||
|
report_error(#t, EOF); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DIGIT "0123456789"
|
#define DIGIT "0123456789"
|
||||||
|
|
Loading…
Reference in New Issue