diff options
author | Jason Merrill <merrill@gnu.org> | 1996-11-15 07:14:08 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1996-11-15 07:14:08 +0000 |
commit | 9a666dda814d39005cddd4b257fa4f43684a8e77 (patch) | |
tree | 0937a9e21f6ef58453839ff8584153e2ae20dd8a /gcc/c-lex.c | |
parent | f3ff3f4abecdb427f882e39af590788f1d2c12ad (diff) | |
download | gcc-9a666dda814d39005cddd4b257fa4f43684a8e77.zip gcc-9a666dda814d39005cddd4b257fa4f43684a8e77.tar.gz gcc-9a666dda814d39005cddd4b257fa4f43684a8e77.tar.bz2 |
x
From-SVN: r13160
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 2bf9153..b9c2190 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -434,12 +434,8 @@ check_newline () && getc (finput) == 'e' && ((c = getc (finput)) == ' ' || c == '\t' || c == '\n')) { -#ifdef DWARF_DEBUGGING_INFO - if (c != '\n' - && (debug_info_level == DINFO_LEVEL_VERBOSE) - && (write_symbols == DWARF_DEBUG)) - dwarfout_define (lineno, get_directive_line (finput)); -#endif /* DWARF_DEBUGGING_INFO */ + if (c != '\n') + debug_define (lineno, get_directive_line (finput)); goto skipline; } } @@ -451,12 +447,8 @@ check_newline () && getc (finput) == 'f' && ((c = getc (finput)) == ' ' || c == '\t' || c == '\n')) { -#ifdef DWARF_DEBUGGING_INFO - if (c != '\n' - && (debug_info_level == DINFO_LEVEL_VERBOSE) - && (write_symbols == DWARF_DEBUG)) - dwarfout_undef (lineno, get_directive_line (finput)); -#endif /* DWARF_DEBUGGING_INFO */ + if (c != '\n') + debug_undef (lineno, get_directive_line (finput)); goto skipline; } } @@ -608,16 +600,7 @@ linenum: p->name = input_filename; input_file_stack = p; input_file_stack_tick++; -#ifdef DBX_DEBUGGING_INFO - if (write_symbols == DBX_DEBUG) - dbxout_start_new_source_file (input_filename); -#endif -#ifdef DWARF_DEBUGGING_INFO - if (debug_info_level == DINFO_LEVEL_VERBOSE - && write_symbols == DWARF_DEBUG) - dwarfout_start_new_source_file (input_filename); -#endif /* DWARF_DEBUGGING_INFO */ - + debug_start_source_file (input_filename); used_up = 1; } else if (TREE_INT_CST_LOW (yylval.ttype) == 2) @@ -629,15 +612,7 @@ linenum: input_file_stack = p->next; free (p); input_file_stack_tick++; -#ifdef DBX_DEBUGGING_INFO - if (write_symbols == DBX_DEBUG) - dbxout_resume_previous_source_file (); -#endif -#ifdef DWARF_DEBUGGING_INFO - if (debug_info_level == DINFO_LEVEL_VERBOSE - && write_symbols == DWARF_DEBUG) - dwarfout_resume_previous_source_file (input_file_stack->line); -#endif /* DWARF_DEBUGGING_INFO */ + debug_end_source_file (input_file_stack->line); } else error ("#-lines for entering and leaving files don't match"); |