From 94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Dec 1999 10:18:36 +0000 Subject: [PATCH] Pass pragma_getc and pragma_ungetc to HANDLE_PRAGMA. From-SVN: r30756 --- gcc/ChangeLog | 5 +++++ gcc/c-lex.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d561df3e89..c62927f098d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-12-02 Nick Clifton + + * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc + to HANDLE_PRAGMA. + Wed Dec 1 18:16:38 1999 Jan Hubicka * 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 d4710a81942..612f3f5b0e2 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 */ -- 2.30.2