c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, do not call dispatch_pragma.

* c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
        do not call dispatch_pragma.

From-SVN: r36257
This commit is contained in:
Richard Henderson 2000-09-07 18:38:08 -07:00 committed by Richard Henderson
parent 46146529f6
commit 30acbc3e34
2 changed files with 7 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2000-09-07 Richard Henderson <rth@cygnus.com>
* c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
do not call dispatch_pragma.
2000-09-07 Jim Wilson <wilson@cygnus.com> 2000-09-07 Jim Wilson <wilson@cygnus.com>
* reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition

View File

@ -457,19 +457,10 @@ process_directive ()
if (!strcmp (name, "pragma")) if (!strcmp (name, "pragma"))
{ {
#ifdef HANDLE_GENERIC_PRAGMAS
dispatch_pragma (); dispatch_pragma ();
goto skipline;
#if 0
#ifdef HANDLE_PRAGMA
/* We invoke HANDLE_PRAGMA before HANDLE_GENERIC_PRAGMAS
(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, IDENTIFIER_POINTER (value)))
goto skipline;
#endif /* HANDLE_PRAGMA */
#endif #endif
goto skipline;
} }
else if (!strcmp (name, "define")) else if (!strcmp (name, "define"))
{ {