comparison lwasm/pragma.c @ 118:b6b8c2645f5c

Add back the dollarlocal and nodollarlocal pragma strings for compatibility with the documentation.
author lost@l-w.ca
date Tue, 09 Aug 2011 18:17:00 -0600
parents 344cfc25afec
children 080bb67d84f2
comparison
equal deleted inserted replaced
117:8e2523061ce9 118:b6b8c2645f5c
45 }; 45 };
46 46
47 static const struct pragma_list set_pragmas[] = 47 static const struct pragma_list set_pragmas[] =
48 { 48 {
49 { "dollarnotlocal", "nodollarnotlocal", PRAGMA_DOLLARNOTLOCAL }, 49 { "dollarnotlocal", "nodollarnotlocal", PRAGMA_DOLLARNOTLOCAL },
50 { "nodollarlocal", "dollarlocal", PRAGMA_DOLLARNOTLOCAL },
50 { "noindex0tonone", "index0tonone", PRAGMA_NOINDEX0TONONE }, 51 { "noindex0tonone", "index0tonone", PRAGMA_NOINDEX0TONONE },
51 { "undefextern", "noundefextern", PRAGMA_UNDEFEXTERN }, 52 { "undefextern", "noundefextern", PRAGMA_UNDEFEXTERN },
52 { "cescapes", "nocescapes", PRAGMA_CESCAPES }, 53 { "cescapes", "nocescapes", PRAGMA_CESCAPES },
53 { "importundefexport", "noimportundefexport", PRAGMA_IMPORTUNDEFEXPORT }, 54 { "importundefexport", "noimportundefexport", PRAGMA_IMPORTUNDEFEXPORT },
54 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR }, 55 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR },