aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-09-07 18:38:08 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-09-07 18:38:08 -0700
commit30acbc3e34bb8b43154fc49bf84ebce893f165d9 (patch)
treefacb89fe37b98cabb8d25b9ea3ec500418035d3e /gcc/c-lex.c
parent46146529f66e8e16ad5eef0eb286d903722649e5 (diff)
downloadgcc-30acbc3e34bb8b43154fc49bf84ebce893f165d9.zip
gcc-30acbc3e34bb8b43154fc49bf84ebce893f165d9.tar.gz
gcc-30acbc3e34bb8b43154fc49bf84ebce893f165d9.tar.bz2
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
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 63ae9ba..e522144 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -457,19 +457,10 @@ process_directive ()
if (!strcmp (name, "pragma"))
{
+#ifdef HANDLE_GENERIC_PRAGMAS
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
+ goto skipline;
}
else if (!strcmp (name, "define"))
{