]> thyrsus.com Git - mad.git/commitdiff
Squeeze out whitespace.
authorEric S. Raymond <esr@thyrsus,com>
Fri, 13 Feb 2004 23:49:43 +0000 (23:49 +0000)
committerEric S. Raymond <esr@thyrsus,com>
Fri, 13 Feb 2004 23:49:43 +0000 (23:49 +0000)
mad

diff --git a/mad b/mad
index 026710e572264715cef9faef341533bf5d9e43d1..977f8bf0759fbf24a28b997090fefeb121434d97 100755 (executable)
--- a/mad
+++ b/mad
@@ -867,7 +867,7 @@ def print_C_statement(statement):
                     rep += normalmode + " " + declarator + ", "
                     defaulted.append(var)
             rep = rep[:-2]
-        rep  = rep + ") {\n"
+        rep  = rep + ") {"
         #if defaulted:
         #    sys.stderr.write("warning: defaulted base type for %s\n" % ", ".join(defaulted))
         declarations = ""
@@ -883,7 +883,7 @@ def print_C_statement(statement):
                     declarations += ","
                 declarations = declarations[:-1] + "; "
         if declarations:
-            rep += "    " + declarations[:-1] + "\n"
+            rep += "    " + declarations[:-1]
         return rep
     elif statement[0] == 'error_return':
         return 'puts("ERROR RETURN"); exit(1);'