diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-29 10:56:04 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-29 10:56:04 +0000 |
commit | 585540bd2adb4d15ca4ea3bbc4d41163cf48a11d (patch) | |
tree | 521c55927424a25105cd398dfc99a3828d4417d7 /gcc/fortran/scanner.c | |
parent | e6260d8928af77a2e003689db07d56aaad008b0b (diff) |
2014-11-29 Tobias Burnus <burnus@net-b.de>
* scanner.c (skip_free_comments, gfc_gobble_whitespace): Use
gfc_warning_now instead of ..._now_1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218180 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/scanner.c')
-rw-r--r-- | gcc/fortran/scanner.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fortran/scanner.c b/gcc/fortran/scanner.c index 884fe70cb3ef..ec7e8ae65a14 100644 --- a/gcc/fortran/scanner.c +++ b/gcc/fortran/scanner.c @@ -775,10 +775,10 @@ skip_free_comments (void) } } else - gfc_warning_now_1 ("!$OMP at %C starts a commented " - "line as it neither is followed " - "by a space nor is a " - "continuation line"); + gfc_warning_now ("!$OMP at %C starts a commented " + "line as it neither is followed " + "by a space nor is a " + "continuation line"); } gfc_current_locus = old_loc; next_char (); @@ -1388,7 +1388,7 @@ gfc_gobble_whitespace (void) if (cur_linenum != linenum) { linenum = cur_linenum; - gfc_warning_now_1 ("Nonconforming tab character at %C"); + gfc_warning_now (OPT_Wtabs, "Nonconforming tab character at %C"); } } } |