projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
798ad49
)
NEWS update, fix type compatibility check for k&r functions
author
Matthias Braun
<matze@braunis.de>
Fri, 15 May 2009 11:40:13 +0000
(11:40 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 15 May 2009 11:40:13 +0000
(11:40 +0000)
[r25970]
NEWS
patch
|
blob
|
history
type.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
4980105
..
72c35bb
100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-1,3
+1,8
@@
+===== cparser 0.9.9 (2009-05-15) =====
+* bugfixes
+* extend and improve support for attributes
+* adapat to latest libfirm
+
===== cparser 0.9.8 (2009-01-28) =====
* several bugfixes
* add/correct semantic checks
===== cparser 0.9.8 (2009-01-28) =====
* several bugfixes
* add/correct semantic checks
diff --git
a/type.c
b/type.c
index
667a912
..
09bbb34
100644
(file)
--- a/
type.c
+++ b/
type.c
@@
-1118,7
+1118,8
@@
static bool function_types_compatible(const function_type_t *func1,
return false;
/* can parameters be compared? */
return false;
/* can parameters be compared? */
- if (func1->unspecified_parameters || func2->unspecified_parameters)
+ if ((func1->unspecified_parameters && !func1->kr_style_parameters)
+ || (func2->unspecified_parameters && !func2->kr_style_parameters))
return true;
if (func1->variadic != func2->variadic)
return true;
if (func1->variadic != func2->variadic)