Update.
From-SVN: r26649
This commit is contained in:
parent
5dadc304ba
commit
01656b25ec
2 changed files with 496 additions and 476 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
/*WARNING: This file is automatically generated!*/
|
||||
/* YACC parser for C syntax and for Objective C. -*-c-*-
|
||||
Copyright (C) 1987, 88, 89, 92-97, 1998 Free Software Foundation, Inc.
|
||||
Copyright (C) 1987, 88, 89, 92-98, 1999 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -562,12 +562,22 @@ expr_no_commas:
|
|||
{ skip_evaluation -= $1 == boolean_true_node;
|
||||
$$ = build_conditional_expr ($1, $<ttype>2, $5); }
|
||||
| expr_no_commas '=' expr_no_commas
|
||||
{ $$ = build_modify_expr ($1, NOP_EXPR, $3);
|
||||
C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); }
|
||||
{ char class;
|
||||
$$ = build_modify_expr ($1, NOP_EXPR, $3);
|
||||
class = TREE_CODE_CLASS (TREE_CODE ($$));
|
||||
if (class == 'e' || class == '1'
|
||||
|| class == '2' || class == '<')
|
||||
C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR);
|
||||
}
|
||||
| expr_no_commas ASSIGN expr_no_commas
|
||||
{ $$ = build_modify_expr ($1, $2, $3);
|
||||
{ char class;
|
||||
$$ = build_modify_expr ($1, $2, $3);
|
||||
/* This inhibits warnings in truthvalue_conversion. */
|
||||
C_SET_EXP_ORIGINAL_CODE ($$, ERROR_MARK); }
|
||||
class = TREE_CODE_CLASS (TREE_CODE ($$));
|
||||
if (class == 'e' || class == '1'
|
||||
|| class == '2' || class == '<')
|
||||
C_SET_EXP_ORIGINAL_CODE ($$, ERROR_MARK);
|
||||
}
|
||||
;
|
||||
|
||||
primary:
|
||||
|
|
Loading…
Add table
Reference in a new issue