comparison lwasm/os9.c @ 142:697bc543368c

Implement distinction between . and * for OS9 modules
author lost@l-w.ca
date Fri, 19 Aug 2011 23:55:40 -0600
parents 3fc568436721
children 86d097dceebc
comparison
equal deleted inserted replaced
141:11ebce0183a5 142:697bc543368c
112 112
113 // we have an implicit ORG 0 with "mod" 113 // we have an implicit ORG 0 with "mod"
114 lw_expr_destroy(l -> addr); 114 lw_expr_destroy(l -> addr);
115 l -> addr = lw_expr_build(lw_expr_type_int, 0); 115 l -> addr = lw_expr_build(lw_expr_type_int, 0);
116 116
117 // likewise for data pointer
118 lw_expr_destroy(l -> daddr);
119 l -> daddr = lw_expr_build(lw_expr_type_int, 0);
120
117 // init crc 121 // init crc
118 as -> inmod = 1; 122 as -> inmod = 1;
119 123
120 l -> len = 13; 124 l -> len = 13;
121 } 125 }