Mercurial > hg-old > index.cgi
comparison lwasm/pragma.c @ 160:b061350c17e4
Added cescapes pragma and a few other compatibility pseudo ops
author | lost |
---|---|
date | Sat, 31 Jan 2009 06:33:03 +0000 |
parents | 427e268e876b |
children | 566943f98f8d |
comparison
equal
deleted
inserted
replaced
159:71561c12b20b | 160:b061350c17e4 |
---|---|
97 } | 97 } |
98 else if (!strcasecmp(pragma, "noundefextern")) | 98 else if (!strcasecmp(pragma, "noundefextern")) |
99 { | 99 { |
100 as -> pragmas &= ~PRAGMA_UNDEFEXTERN; | 100 as -> pragmas &= ~PRAGMA_UNDEFEXTERN; |
101 } | 101 } |
102 else if (!strcasecmp(pragma, "cescapes")) | |
103 { | |
104 as -> pragmas |= PRAGMA_CESCAPES; | |
105 } | |
106 else if (!strcasecmp(pragma, "nocescapes")) | |
107 { | |
108 as -> pragmas &= ~PRAGMA_CESCAPES; | |
109 } | |
102 else | 110 else |
103 { | 111 { |
104 if (error) | 112 if (error) |
105 { | 113 { |
106 register_error(as, cl, 1, "Unrecognized pragma"); | 114 register_error(as, cl, 1, "Unrecognized pragma"); |