summaryrefslogtreecommitdiff
path: root/gcc/cp/spew.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r--gcc/cp/spew.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index 9607e975f11..0d555fca067 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -891,13 +891,6 @@ yyungetc (ch, rescan)
{
struct token fake;
- /* If we're putting back a brace, undo the change in indent_level
- from the first time we saw it. */
- if (ch == '{')
- indent_level--;
- else if (ch == '}')
- indent_level++;
-
fake.yychar = ch;
fake.yylval.ttype = 0;
fake.lineno = lineno;
@@ -1085,8 +1078,7 @@ snarf_block (starting_file, starting_line)
size_t point;
if (yychar == '{')
- /* We incremented indent_level in yylex; undo that. */
- indent_level--;
+ ;
else if (yychar == '=')
look_for_semicolon = 1;
else if (yychar == ':' || yychar == RETURN_KEYWORD || yychar == TRY)