Commit 9116eca2 by Richard Henderson Committed by Richard Henderson

lex.c (lang_init_options): New function.

        * lex.c (lang_init_options): New function.
        (lang_init): Remove flag_exceptions == 2 hack.

From-SVN: r20275
parent b53beeb2
1998-06-07 Richard Henderson <rth@cygnus.com>
* lex.c (lang_init_options): New function.
(lang_init): Remove flag_exceptions == 2 hack.
1998-06-05 Jason Merrill <jason@yorick.cygnus.com> 1998-06-05 Jason Merrill <jason@yorick.cygnus.com>
* search.c (envelope_add_decl): Tweak for implicit typename. * search.c (envelope_add_decl): Tweak for implicit typename.
......
...@@ -396,6 +396,13 @@ char *cplus_tree_code_name[] = { ...@@ -396,6 +396,13 @@ char *cplus_tree_code_name[] = {
/* toplev.c needs to call these. */ /* toplev.c needs to call these. */
void void
lang_init_options ()
{
/* Default exceptions on. */
flag_exceptions = 1;
}
void
lang_init () lang_init ()
{ {
/* the beginning of the file is a new line; check for # */ /* the beginning of the file is a new line; check for # */
...@@ -404,10 +411,6 @@ lang_init () ...@@ -404,10 +411,6 @@ lang_init ()
put_back (check_newline ()); put_back (check_newline ());
if (flag_gnu_xref) GNU_xref_begin (input_filename); if (flag_gnu_xref) GNU_xref_begin (input_filename);
init_repo (input_filename); init_repo (input_filename);
/* See comments in toplev.c before the call to lang_init. */
if (flag_exceptions == 2)
flag_exceptions = 1;
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment