Commit 7ec6d4d9 by Doug Evans

(HANDLE_PRAGMA): Change to expression with terminating character as result.

From-SVN: r11154
parent 20be034b
...@@ -119,7 +119,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -119,7 +119,7 @@ Boston, MA 02111-1307, USA. */
fprintf (asm_out_file, "\t.type\t0x%x;", (A & 0xf) + 2 * (A & ~0xf)) fprintf (asm_out_file, "\t.type\t0x%x;", (A & 0xf) + 2 * (A & ~0xf))
/* Handle pragmas for compatibility with Intel's compilers. */ /* 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. */ /* Run-time compilation parameters selecting different hardware subsets. */
......
...@@ -241,7 +241,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -241,7 +241,7 @@ Boston, MA 02111-1307, USA. */
#undef HANDLE_PRAGMA #undef HANDLE_PRAGMA
#define HANDLE_PRAGMA(finput, ch) \ #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. */ /* Give methods pretty symbol names on NeXT. */
......
...@@ -1511,10 +1511,10 @@ extern char *output_far_jump(); ...@@ -1511,10 +1511,10 @@ extern char *output_far_jump();
#define TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS
/* Define this macro if you want to implement any pragmas. If defined, it /* 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 argument STREAM is the stdio input stream from which the source
text can be read. CH is the first character after the #pragma. The 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). */ (newline or EOF). */
#define HANDLE_PRAGMA(FILE, CH) return handle_pragma (FILE, CH) #define HANDLE_PRAGMA(FILE, CH) return handle_pragma (FILE, CH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment