aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-12-02 10:18:36 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-12-02 10:18:36 +0000
commit94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5 (patch)
treeecb96cabb94dd7872523a37f26d03653ff4bce79 /gcc
parentc390b4a687485bd7745a02f0ccd306b3a5cd2b7d (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--gcc/c-lex.c4
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 */