OSDN Git Service

Pass pragma_getc and pragma_ungetc to HANDLE_PRAGMA.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 10:18:36 +0000 (10:18 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 10:18:36 +0000 (10:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30756 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-lex.c

index 8d561df..c62927f 100644 (file)
@@ -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
index d4710a8..612f3f5 100644 (file)
@@ -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 */