# HG changeset patch # User lost # Date 1233209541 0 # Node ID 006d737756fdc2530aaa5fcb37001d2163545179 # Parent 0ee5f65bccf931e93111a113e526b7a92bfebff3 Made pragmas not be case sensitive diff -r 0ee5f65bccf9 -r 006d737756fd src/pragma.c --- 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; }