projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
One help entry for -ffp-precise is sufficient.
[cparser]
/
lexer.c
diff --git
a/lexer.c
b/lexer.c
index
65c52a3
..
38a8e1d
100644
(file)
--- a/
lexer.c
+++ b/
lexer.c
@@
-688,19
+688,7
@@
static void parse_number_hex(void)
*/
static bool is_octal_digit(utf32 chr)
{
- switch (chr) {
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- return true;
- default:
- return false;
- }
+ return '0' <= chr && chr <= '7';
}
/**