diff lwasm/pragma.c @ 160:b061350c17e4

Added cescapes pragma and a few other compatibility pseudo ops
author lost
date Sat, 31 Jan 2009 06:33:03 +0000
parents 427e268e876b
children 566943f98f8d
line wrap: on
line diff
--- a/lwasm/pragma.c	Sat Jan 31 06:32:27 2009 +0000
+++ b/lwasm/pragma.c	Sat Jan 31 06:33:03 2009 +0000
@@ -99,6 +99,14 @@
 	{
 		as -> pragmas &= ~PRAGMA_UNDEFEXTERN;
 	}
+	else if (!strcasecmp(pragma, "cescapes"))
+	{
+		as -> pragmas |= PRAGMA_CESCAPES;
+	}
+	else if (!strcasecmp(pragma, "nocescapes"))
+	{
+		as -> pragmas &= ~PRAGMA_CESCAPES;
+	}
 	else
 	{
 		if (error)