c-lex.c (check_newline): Pass character after `#pragma' to HANDLE_PRAGMA.
authorDoug Evans <dje@gnu.org>
Mon, 15 Jan 1996 22:25:24 +0000 (22:25 +0000)
committerDoug Evans <dje@gnu.org>
Mon, 15 Jan 1996 22:25:24 +0000 (22:25 +0000)
commit05a81fe58ab528bf1fbb9d0d2deaab2285bdb518
tree79c4f03f1d011640a7b270160132fb58e1333970
parent9298a6b0eb75d3f025250cd3f626a7b74f470fe9
c-lex.c (check_newline): Pass character after `#pragma' to HANDLE_PRAGMA.

* c-lex.c (check_newline): Pass character after `#pragma' to
HANDLE_PRAGMA.  Don't call get_directive_line if at end of line.
* c-common.c (get_directive_line): Watch for EOF.
* h8300/h8300.h (HANDLE_PRAGMA): New argument `c'.
Must issue `return' now.
* i960/i960.h (HANDLE_PRAGMA): Likewise.
* sh/sh.h (HANDLE_PRAGMA): Likewise.
* nextstep.h (HANDLE_PRAGMA): Likewise.
* h8300/h8300.c (handle_pragma): New argument `ch'.
Simplify pragma processing.  Delete support for `#pragma section'.
* i960/i960.c (process_pragma): New argument `c'.  Change result to
terminating character.
* nextstep.c (handle_pragma): Likewise.
* sh/sh.c (handle_pragma): Likewise.  Also simplified.

From-SVN: r10999
gcc/c-common.c
gcc/c-lex.c
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h
gcc/config/i960/i960.c
gcc/config/i960/i960.h
gcc/config/nextstep.c
gcc/config/nextstep.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h