projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8de16
)
Use revert_automatic_type_conversion() to determine the type of typeof().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 18 Dec 2008 13:05:10 +0000
(13:05 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 18 Dec 2008 13:05:10 +0000
(13:05 +0000)
[r24780]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
b993871
..
9d586b7
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-3203,7
+3203,7
@@
static type_t *parse_typeof(void)
type = parse_typename();
} else {
expression = parse_expression();
- type =
expression->base.type
;
+ type =
revert_automatic_type_conversion(expression)
;
}
break;