projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f151fd2
)
semantic: Accept complex literal suffixes even in non-gcc mode.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Dec 2012 10:27:36 +0000
(11:27 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Dec 2012 11:13:07 +0000
(12:13 +0100)
FreeBSD's system headers use them without __extension__ and gcc accepts them with -std=c99, too.
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
c36bc91
..
f742f33
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-5696,8
+5696,6
@@
static void check_number_suffix(expression_t *const expr, char const *const suff
case 'I': case 'i':
case 'J': case 'j':
- if (!GNU_MODE)
- goto error;
add = SPECIFIER_COMPLEX;
break;