changeset 144:006d737756fd

Made pragmas not be case sensitive
author lost
date Thu, 29 Jan 2009 06:12:21 +0000
parents 0ee5f65bccf9
children afe30454382f
files src/pragma.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/pragma.c	Thu Jan 29 01:32:11 2009 +0000
+++ b/src/pragma.c	Thu Jan 29 06:12:21 2009 +0000
@@ -83,19 +83,19 @@
 		return;
 	}
 	pragma[c] = 0;
-	if (!strcmp(pragma, "noindex0tonone"))
+	if (!strcasecmp(pragma, "noindex0tonone"))
 	{
 		as -> pragmas |= PRAGMA_NOINDEX0TONONE;
 	}
-	else if (!strcmp(pragma, "index0tonone"))
+	else if (!strcasecmp(pragma, "index0tonone"))
 	{
 		as -> pragmas &= ~PRAGMA_NOINDEX0TONONE;
 	}
-	else if (!strcmp(pragma, "undefextern"))
+	else if (!strcasecmp(pragma, "undefextern"))
 	{
 		as -> pragmas |= PRAGMA_UNDEFEXTERN;
 	}
-	else if (!strcmp(pragma, "noundefextern"))
+	else if (!strcasecmp(pragma, "noundefextern"))
 	{
 		as -> pragmas &= ~PRAGMA_UNDEFEXTERN;
 	}