changeset 61:73de2151aebd

better code for long strings
author meillo@marmaro.de
date Thu, 13 Nov 2008 13:15:11 +0100 (2008-11-13)
parents 7adeee76ce3e
children 80df58d240b2
files baum.c
diffstat 1 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/baum.c	Sun Mar 16 20:11:02 2008 +0100
+++ b/baum.c	Thu Nov 13 13:15:11 2008 +0100
@@ -253,19 +253,15 @@
 	
 	while (--argc > 0 && (*++argv)[0] == '-') {
 		if (strcmp(argv[0], "--version") == 0) {
-			printf("\
-baum %s\n\
-an esoteric programming language\n\
-by markus schnalke and julian forster\n\
-http://prog.marmaro.de/baum\n\
-", VERSION);
+			printf("baum %s\n"
+			       "an esoteric programming language\n"
+			       "by markus schnalke and julian forster\n"
+			       "http://prog.marmaro.de/baum\n", VERSION);
 			exit(0);
 		} else if (strcmp(argv[0], "--help") == 0) {
-			printf("\
-baum --version        print version information and exit\n\
-baum --help           print this output\n\
-baum [-v] <file>      (verbosly) run file\n\
-");
+			printf("baum --version        print version information and exit\n"
+			       "baum --help           print this output\n"
+			       "baum [-v] <file>      (verbosly) run file\n");
 			exit(0);
 		} else if (strcmp(argv[0], "-v") == 0) {
 			option_verbose = 1;