diff options
author | Nick Clifton <nickc@cygnus.com> | 1999-12-02 10:18:36 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-12-02 10:18:36 +0000 |
commit | 94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5 (patch) | |
tree | ecb96cabb94dd7872523a37f26d03653ff4bce79 /gcc | |
parent | c390b4a687485bd7745a02f0ccd306b3a5cd2b7d (diff) | |
download | gcc-94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5.zip gcc-94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5.tar.gz gcc-94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5.tar.bz2 |
Pass pragma_getc and pragma_ungetc to HANDLE_PRAGMA.
From-SVN: r30756
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-lex.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d561df..c62927f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-12-02 Nick Clifton <nickc@cygnus.com> + + * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc + to HANDLE_PRAGMA. + Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz> * i386.md (extend?f?f2): Force the input into a register, not diff --git a/gcc/c-lex.c b/gcc/c-lex.c index d4710a8..612f3f5 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -525,7 +525,7 @@ extend_token_buffer (p) static int pragma_getc () { - return GETC(); + return GETC (); } static void @@ -638,7 +638,7 @@ check_newline () (if both are defined), in order to give the back end a chance to override the interpretation of SYSV style pragmas. */ - if (HANDLE_PRAGMA (getch, put_back, + if (HANDLE_PRAGMA (pragma_getc, pragma_ungetc, IDENTIFIER_POINTER (yylval.ttype))) goto skipline; #endif /* HANDLE_PRAGMA */ |