From 7ec6d4d920ec09e07bb9a6db64c0f5db761d788b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 1 Feb 1996 22:47:21 +0000 Subject: [PATCH] (HANDLE_PRAGMA): Change to expression with terminating character as result. From-SVN: r11154 --- gcc/config/i960/i960.h | 2 +- gcc/config/nextstep.h | 2 +- gcc/config/sh/sh.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index c13ad96f4c0..c67c01059b0 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -119,7 +119,7 @@ Boston, MA 02111-1307, USA. */ fprintf (asm_out_file, "\t.type\t0x%x;", (A & 0xf) + 2 * (A & ~0xf)) /* Handle pragmas for compatibility with Intel's compilers. */ -#define HANDLE_PRAGMA(FILE, CH) return process_pragma (FILE, CH) +#define HANDLE_PRAGMA(FILE, CH) process_pragma (FILE, CH) /* Run-time compilation parameters selecting different hardware subsets. */ diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h index bfd039c2241..4937c99fbb3 100644 --- a/gcc/config/nextstep.h +++ b/gcc/config/nextstep.h @@ -241,7 +241,7 @@ Boston, MA 02111-1307, USA. */ #undef HANDLE_PRAGMA #define HANDLE_PRAGMA(finput, ch) \ - return handle_pragma (finput, ch, &get_directive_line) + handle_pragma (finput, ch, &get_directive_line) /* Give methods pretty symbol names on NeXT. */ diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index bdad3b760e0..236aaa61eaa 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1511,10 +1511,10 @@ extern char *output_far_jump(); #define TARGET_MEM_FUNCTIONS /* Define this macro if you want to implement any pragmas. If defined, it - should be a C statement to be executed when #pragma is seen. The + is a C expression to be executed when #pragma is seen. The argument STREAM is the stdio input stream from which the source text can be read. CH is the first character after the #pragma. The - statement should execute a `return' with the terminating character found + result of the expression is the terminating character found (newline or EOF). */ #define HANDLE_PRAGMA(FILE, CH) return handle_pragma (FILE, CH) -- 2.30.2