aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
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/c-lex.c
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/c-lex.c')
-rw-r--r--gcc/c-lex.c4
1 files changed, 2 insertions, 2 deletions
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 */