diff lwcc/cpp-main.c @ 307:9e342c4e4b66 ccdev

Added support for __LINE__, __FILE__, __DATE__, and __TIME__ Added support for the standard __LINE__, __FILE__, __DATE__, and __TIME "macros" and updated the readme form lwcc to reflect the current development state. Note: attempts to define these four macros will succeed but the definitions will be ignored.
author William Astle <lost@l-w.ca>
date Sat, 21 Sep 2013 12:27:48 -0600
parents b08787e5b9f3
children 73b2bfa17ab0
line wrap: on
line diff
--- a/lwcc/cpp-main.c	Wed Sep 18 20:41:41 2013 -0600
+++ b/lwcc/cpp-main.c	Sat Sep 21 12:27:48 2013 -0600
@@ -173,7 +173,7 @@
 		}
 		fn++;
 	}
-	fprintf(fp, "\" %d\n", flag);
+	fprintf(fp, "\" %d", flag);
 }
 
 int process_file(const char *fn)