summaryrefslogtreecommitdiff
path: root/gcc/cp/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parse.y')
-rw-r--r--gcc/cp/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y
index 27f949a37e0..0970057d378 100644
--- a/gcc/cp/parse.y
+++ b/gcc/cp/parse.y
@@ -1268,7 +1268,7 @@ new_initializer:
'(' nonnull_exprlist ')'
{ $$ = $2; }
| LEFT_RIGHT
- { $$ = NULL_TREE; }
+ { $$ = void_zero_node; }
| '(' typespec ')'
{
cp_error ("`%T' is not a valid expression", $2.t);