diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-08 01:38:08 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-08 01:38:08 +0000 |
commit | a1fad0ea259b97b51a2456218c390f592b62fca0 (patch) | |
tree | facb89fe37b98cabb8d25b9ea3ec500418035d3e /gcc/c-lex.c | |
parent | e6a0eb01ca519626e2be5e18d175dfc107fe36e1 (diff) | |
download | gcc-a1fad0ea259b97b51a2456218c390f592b62fca0.tar.gz |
* c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
do not call dispatch_pragma.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 63ae9ba6676..e5221443a7f 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")) { |