OSDN Git Service

* cp-tree.h (ansi_null_node): New variable.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Aug 1998 15:14:58 +0000 (15:14 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Aug 1998 15:14:58 +0000 (15:14 +0000)
commitaba6eb7d7c76c34ffba46499e5c163b2dfddd59a
treea8e8e350b77e108b758cfb2cd7b897d48d0d05bd
parent41f1e3aa6c749566dfaabfcf2c6c680250a12ef4
* cp-tree.h (ansi_null_node): New variable.
* decl.c (ansi_null_node): New variable.
(init_decl_processing): Initialize its type.
* lex.c (init_parse): Initialize its value.  Use ansi_null_node
for null_node in non-ANSI mode.
* typeck.c (build_binary_op_nodefault): Use ansi_null_node in
place of null_node to avoid spurious errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21858 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.other/null1.C [new file with mode: 0644]