equal
deleted
inserted
replaced
133 {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds."); continue;} |
133 {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds."); continue;} |
134 |
134 |
135 if ( VALID_CVALUE(uint64, l->elements[i]) && VALID_CVALUE(uint64, dimension->upper_limit)) |
135 if ( VALID_CVALUE(uint64, l->elements[i]) && VALID_CVALUE(uint64, dimension->upper_limit)) |
136 if ( GET_CVALUE(uint64, l->elements[i]) > GET_CVALUE(uint64, dimension->upper_limit)) |
136 if ( GET_CVALUE(uint64, l->elements[i]) > GET_CVALUE(uint64, dimension->upper_limit)) |
137 {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds."); continue;} |
137 {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds."); continue;} |
|
138 |
|
139 /* TODO: what happens when one has a int64 cvalue, and another has a uint64 cvalue? */ |
138 } |
140 } |
139 } |
141 } |
140 |
142 |
141 |
143 |
142 |
144 |