projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parse __builtin_inf{,f,l} and correct __builtin_nand to __builtin_nanl.
[cparser]
/
ast.c
diff --git
a/ast.c
b/ast.c
index
4daf4f6
..
6b0542e
100644
(file)
--- a/
ast.c
+++ b/
ast.c
@@
-1672,9
+1672,12
@@
static bool is_builtin_const_call(const expression_t *expression)
switch (symbol->ID) {
case T___builtin_huge_val:
+ case T___builtin_inf:
+ case T___builtin_inff:
+ case T___builtin_infl:
case T___builtin_nan:
case T___builtin_nanf:
- case T___builtin_nan
d
:
+ case T___builtin_nan
l
:
return true;
}