comparison lwasm/pragma.c @ 115:344cfc25afec

Added initial infrastructure for pragma autobranchlength (suggested by Ebonhand on irc)
author lost@l-w.ca
date Mon, 08 Aug 2011 23:00:27 -0600
parents 38c1537857ce
children b6b8c2645f5c
comparison
equal deleted inserted replaced
114:707eda49ad60 115:344cfc25afec
52 { "cescapes", "nocescapes", PRAGMA_CESCAPES }, 52 { "cescapes", "nocescapes", PRAGMA_CESCAPES },
53 { "importundefexport", "noimportundefexport", PRAGMA_IMPORTUNDEFEXPORT }, 53 { "importundefexport", "noimportundefexport", PRAGMA_IMPORTUNDEFEXPORT },
54 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR }, 54 { "pcaspcr", "nopcaspcr", PRAGMA_PCASPCR },
55 { "shadow", "noshadow", PRAGMA_SHADOW }, 55 { "shadow", "noshadow", PRAGMA_SHADOW },
56 { "nolist", "list", PRAGMA_NOLIST }, 56 { "nolist", "list", PRAGMA_NOLIST },
57 { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH },
57 { 0, 0, 0} 58 { 0, 0, 0}
58 }; 59 };
59 60
60 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) 61 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr)
61 { 62 {