Mercurial > hg-old > index.cgi
comparison lwasm/lwasm.c @ 385:cf8c92d70eb1
Various bugfixes
author | lost@starbug |
---|---|
date | Sun, 16 May 2010 11:50:00 -0600 |
parents | eacdae8a1575 |
children | a741d2e4869f |
comparison
equal
deleted
inserted
replaced
384:38b50ce6967a | 385:cf8c92d70eb1 |
---|---|
97 { | 97 { |
98 switch (t) | 98 switch (t) |
99 { | 99 { |
100 case lwasm_expr_secbase: | 100 case lwasm_expr_secbase: |
101 { | 101 { |
102 line_t *cl = ptr; | 102 // sectiontab_t *s = priv; |
103 if (cl -> as -> exportcheck && ptr == cl -> as -> csect) | 103 asmstate_t *as = priv; |
104 if (as -> exportcheck && ptr == as -> csect) | |
104 return lw_expr_build(lw_expr_type_int, 0); | 105 return lw_expr_build(lw_expr_type_int, 0); |
105 return NULL; | 106 return NULL; |
106 } | 107 } |
107 | 108 |
108 case lwasm_expr_linelen: | 109 case lwasm_expr_linelen: |