diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-10-04 15:04:09 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-10-04 15:04:09 +0000 |
commit | 9e8a67206955a2aa97f77991358c009992b30a95 (patch) | |
tree | 84713ee9ee2363bfb664ffc3692e457e1493f1ed /libgfortran/runtime/environ.c | |
parent | 7dc83ebc4a15beeba41e01a0e1a9d3981bc6182c (diff) | |
download | gcc-9e8a67206955a2aa97f77991358c009992b30a95.zip gcc-9e8a67206955a2aa97f77991358c009992b30a95.tar.gz gcc-9e8a67206955a2aa97f77991358c009992b30a95.tar.bz2 |
re PR fortran/33502 (gfortran with .F suffix and -g3 option chokes on preprocessor syntax)
PR fortran/33502
* scanner.c (gfc_advance_line): Call debug_hooks->end_source_file
and debug_hooks->start_source_file when appropriate, and set
dbg_emitted.
(gfc_define_undef_line): New function.
(load_file): Don't error out on #define and #undef lines.
* parse.c (next_statement): Call gfc_define_undef_line.
(gfc_parse_file): Call debug_hooks->start_source_file and
debug_hooks->end_source_file for the main source file if
required.
* gfortran.h (gfc_linebuf): Add dbg_emitted field.
(gfc_define_undef_line): New prototype.
From-SVN: r129011
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions