diff lwasm/lwasm.h @ 209:52d9dd71f555

Make warning actually work. Make warnings actually work instead of being treated as errors. Also correct compiler warnings related to warning and error handling.
author William Astle <lost@l-w.ca>
date Sat, 09 Jun 2012 16:03:36 -0600
parents 07e1fac76321
children 5d969517db74
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sat Jun 09 15:57:58 2012 -0600
+++ b/lwasm/lwasm.h	Sat Jun 09 16:03:36 2012 -0600
@@ -260,6 +260,7 @@
 	int flags;							// assembly flags
 	int pragmas;						// pragmas currently in effect
 	int errorcount;						// number of errors encountered
+	int warningcount;					// number of warnings issued
 	int inmacro;						// are we in a macro?
 	int instruct;						// are w in a structure?
 	int skipcond;						// skipping a condition?