lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
authorBrendan Kehoe <brendan@lisa.cygnus.com>
Sat, 1 Nov 1997 19:50:18 +0000 (19:50 +0000)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Sat, 1 Nov 1997 19:50:18 +0000 (14:50 -0500)
commitb2bb2710f3e0eebda82bd3153d9fa1a32a950e7a
tree552c84754cf24106f6d18cba13ee2e7c7c0fa3c7
parent5a0fa1de62991de26dd6819a0e67341cf23826c0
lex.c (FILE_NAME_NONDIRECTORY): Delete macro.

        * lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
        (file_name_nondirectory): New function, doing the same as the macro.
        (set_typedecl_interface_info): Use it instead of the macro.
        (check_newline): Likewise.
        (handle_cp_pragma): Likewise.

        * repo.c (get_base_filename): Cast result of rindex to char*.
        (open_repo_file): Likewise.
        * xref.c (open_xref_file): Likewise.
        * error.c (dump_char): Make its arg int, not char.

bring over the changes that went in yesterday to fix irix6 native cc
build problems

From-SVN: r16261
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/lex.c
gcc/cp/repo.c
gcc/cp/xref.c