OSDN Git Service

Minor cleanup.
authorSimon Forman <sforman@hushmail.com>
Thu, 2 Feb 2023 04:34:49 +0000 (20:34 -0800)
committerSimon Forman <sforman@hushmail.com>
Thu, 2 Feb 2023 04:34:49 +0000 (20:34 -0800)
implementations/C/joy.c

index 17f5502..0ea7a83 100644 (file)
@@ -203,7 +203,6 @@ print_list(struct list_node* el)
                         printf(" ");
                 }
         }
-        printf("\n");
 }
 
 
@@ -226,5 +225,6 @@ main(void)
        el = push_integer_from_str("3141592653589793238462643383279502884", 0);
        el->tail = text_to_expression(text);
         print_list(el);
+        printf("\n");
        return 0;
 }