diff lwasm/main.c @ 352:f5b77989f675

Added PRAGMA and *PRAGMA
author lost@starbug
date Tue, 30 Mar 2010 20:56:54 -0600
parents a82c55070624
children d96c30e60ddf
line wrap: on
line diff
--- a/lwasm/main.c	Sat Mar 27 23:37:30 2010 -0600
+++ b/lwasm/main.c	Tue Mar 30 20:56:54 2010 -0600
@@ -33,7 +33,7 @@
 #include "lwasm.h"
 #include "input.h"
 
-extern int parse_pragma_string(asmstate_t *as, char *str);
+extern int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr);
 
 /* command line option handling */
 const char *argp_program_version = "lwasm from " PACKAGE_STRING;
@@ -124,7 +124,7 @@
 		break;
 		
 	case 'p':
-		if (parse_pragma_string(as, arg) == 0)
+		if (parse_pragma_string(as, arg, 0) == 0)
 		{
 			fprintf(stderr, "Unrecognized pragma string: %s\n", arg);
 			exit(1);