comparison lwasm/pragma.c @ 207:07e1fac76321

Added pragma to allow non case sensitive symbols Added "nosymbolcase" and "symbolnocase" pragmas to cause symbols defined while the pragma is in effect to be treated as case insensitive. Also documented the new pragma.
author William Astle <lost@l-w.ca>
date Sat, 09 Jun 2012 15:47:22 -0600
parents 080bb67d84f2
children 5d969517db74
comparison
equal deleted inserted replaced
206:080bb67d84f2 207:07e1fac76321
55 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR }, 55 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR },
56 { "shadow", "noshadow", PRAGMA_SHADOW }, 56 { "shadow", "noshadow", PRAGMA_SHADOW },
57 { "nolist", "list", PRAGMA_NOLIST }, 57 { "nolist", "list", PRAGMA_NOLIST },
58 { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH }, 58 { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH },
59 { "export", "noexport", PRAGMA_EXPORT }, 59 { "export", "noexport", PRAGMA_EXPORT },
60 { "symbolnocase", "nosymbolnocase", PRAGMA_SYMBOLNOCASE },
61 { "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE },
60 { 0, 0, 0} 62 { 0, 0, 0}
61 }; 63 };
62 64
63 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) 65 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr)
64 { 66 {