From b557ff67883ea99165966bd1ba2781301d662e98 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 6 Apr 2002 05:26:12 +0000 Subject: 2002-04-05 Roland McGrath * Makefile.am (cpu.symc): Depend on gensym.awk. * Makefile.in: Regenerated. * gensym.awk: Generate code with no unescaped newlines inside strings. --- gensym.awk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gensym.awk') diff --git a/gensym.awk b/gensym.awk index 2128321..f5eabae 100644 --- a/gensym.awk +++ b/gensym.awk @@ -34,7 +34,7 @@ BEGIN { # Take an arbitrarily complex C symbol or expression and constantize it. /^expr/ { - print "__asm (\""; + print "__asm (\"\\n\\"; if ($3 == "") printf "* %s mAgIc%%0\" : : \"i\" (%s));\n", $2, $2; else @@ -43,7 +43,7 @@ BEGIN { # Output a symbol defining the size of a C structure. /^size/ { - print "__asm (\""; + print "__asm (\"\\n\\"; if ($4 == "") printf "* %s_SIZE mAgIc%%0\" : : \"i\" (sizeof(struct %s)));\n", toupper($3), $2; @@ -54,7 +54,7 @@ BEGIN { # Output a symbol defining the byte offset of an element of a C structure. /^offset/ { - print "__asm (\""; + print "__asm (\"\\n\\"; if ($5 == "") { printf "* %s_%s mAgIc%%0\" : : \"i\" (&((struct %s*)0)->%s));\n", @@ -75,4 +75,3 @@ BEGIN { END { print "}" } - -- cgit v1.2.3