summaryrefslogtreecommitdiffstats
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 816f9e38c77..27684527f32 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -150,11 +150,9 @@ int interface_unknown; /* whether or not we know this class
/* Initialization before switch parsing. */
-void
+int
cxx_init_options ()
{
- c_common_init_options (clk_cplusplus);
-
/* Default exceptions on. */
flag_exceptions = 1;
/* By default wrap lines at 80 characters. Is getenv ("COLUMNS")
@@ -163,6 +161,8 @@ cxx_init_options ()
/* By default, emit location information once for every
diagnostic message. */
diagnostic_prefixing_rule (global_dc) = DIAGNOSTICS_SHOW_PREFIX_ONCE;
+
+ return c_common_init_options (clk_cplusplus);
}
void
OpenPOWER on IntegriCloud