diff options
author | Richard Stallman <rms@gnu.org> | 1993-04-05 06:36:22 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-04-05 06:36:22 +0000 |
commit | 6544cdba17e0e6aea50c7084d0bb09a60b4e569c (patch) | |
tree | 99ef6e445248af574760805fb471c1d7ef8f57d9 /gcc/c-parse.in | |
parent | f1ab98e01b4722bf29572181d1bfb75190945a54 (diff) | |
download | gcc-6544cdba17e0e6aea50c7084d0bb09a60b4e569c.zip gcc-6544cdba17e0e6aea50c7084d0bb09a60b4e569c.tar.gz gcc-6544cdba17e0e6aea50c7084d0bb09a60b4e569c.tar.bz2 |
(expr_no_commas, from ASSIGN op):
Store ERROR_MARK as the original code.
From-SVN: r4019
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r-- | gcc/c-parse.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 39428d0..6940f87 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -517,7 +517,8 @@ expr_no_commas: C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); } | expr_no_commas ASSIGN expr_no_commas { $$ = build_modify_expr ($1, $2, $3); - C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); } + /* This inhibits warnings in truthvalue_conversion. */ + C_SET_EXP_ORIGINAL_CODE ($$, ERROR_MARK); } ; primary: |