error.c (gfc_buffer_error, [...]): Use bool not
commit0f447a6e33db466cb8b04fc3583ed76626ca8f3b
authorTobias Burnus <burnus@net-b.de>
Sat, 6 Dec 2014 16:33:11 +0000 (6 17:33 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 6 Dec 2014 16:33:11 +0000 (6 17:33 +0100)
tree636127fb29b38398c755e5e967a9d89e19339271
parentb8a82c9dc6a72e9a98f1df09f4cba9de379236ae
error.c (gfc_buffer_error, [...]): Use bool not

2014-12-06  Tobias Burnus  <burnus@net-b.de>
            Manuel López-Ibáñez  <manu@gcc.gnu.org>

        * error.c (gfc_buffer_error, gfc_error_flag_test): Use bool not
        * int.
        (buffer_flag): Remove static variable.
        (buffered_p): Add static variable.
        (gfc_error_init_1): Call gfc_buffer_error.
        (gfc_warning_1, gfc_warning, gfc_warning_now_1, gfc_error,
        gfc_error_now_1): Update for static variable change.
        * gfortran.h (gfc_buffer_error, gfc_error_flag_test): Update
        prototype.
        * parse.c (use_modules, decode_specification_statement,
        next_fixed, next_statement, match_deferred_characteristics):
        Update calls.
        * decl.c (gfc_match_data_decl): Ditto.
        * match.c (gfc_match_name): Ditto.

Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r218449
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/error.c
gcc/fortran/gfortran.h
gcc/fortran/match.c
gcc/fortran/parse.c