parse.y (empty_parms): Use ()', not (...)', when in the scope of `extern "C++"'.

* parse.y (empty_parms): Use `()', not `(...)', when in the scope
	of `extern "C++"'.

From-SVN: r35265
This commit is contained in:
Mark Mitchell 2000-07-26 15:40:08 +00:00 committed by Mark Mitchell
parent 5dc2d67f2c
commit 0c10a805de
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-07-26 Mark Mitchell <mark@codesourcery.com>
* parse.y (empty_parms): Use `()', not `(...)', when in the scope
of `extern "C++"'.
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
Kill strict_prototype. Backwards compatibility only for

View File

@ -102,7 +102,8 @@ empty_parms ()
tree parms;
#ifndef NO_IMPLICIT_EXTERN_C
if (in_system_header && current_class_type == NULL)
if (in_system_header && current_class_type == NULL
&& current_lang_name == lang_name_c)
parms = NULL_TREE;
else
#endif