projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc1677f
)
- removed todo
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 12 Sep 2008 03:31:00 +0000
(
03:31
+0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 12 Sep 2008 03:31:00 +0000
(
03:31
+0000)
[r21874]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
aebb7e8
..
b9544a4
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-5914,7
+5914,6
@@
static bool semantic_cast(expression_t *expression, type_t *orig_dest_type)
if (dest_type == type_void)
return true;
- /* TODO check if explicit cast is allowed and issue warnings/errors */
if (is_type_pointer(dest_type)) {
/* only integer and pointer can be casted to pointer */
if (! is_type_pointer(orig_type) && ! is_type_integer(orig_type)) {