aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-02-01 22:47:21 +0000
committerDoug Evans <dje@gnu.org>1996-02-01 22:47:21 +0000
commit7ec6d4d920ec09e07bb9a6db64c0f5db761d788b (patch)
tree347d0a49a28790f2f7032b0b80879c283949abf4 /gcc
parent20be034b3ad21d8ce339c72bae1e6ad7a4a7fe10 (diff)
downloadgcc-7ec6d4d920ec09e07bb9a6db64c0f5db761d788b.zip
gcc-7ec6d4d920ec09e07bb9a6db64c0f5db761d788b.tar.gz
gcc-7ec6d4d920ec09e07bb9a6db64c0f5db761d788b.tar.bz2
(HANDLE_PRAGMA): Change to expression with terminating character as result.
From-SVN: r11154
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i960/i960.h2
-rw-r--r--gcc/config/nextstep.h2
-rw-r--r--gcc/config/sh/sh.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index c13ad96..c67c010 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 bfd039c..4937c99 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 bdad3b7..236aaa6 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)