File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
samples/distro-examples/tests/output Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 14
14
IF: 193
15
15
IF: 192
16
16
SUB: 216
17
-
18
17
19
18
20
19
* RTE-ERROR AT ../../../samples/distro-examples/tests/trycatch.bas:200 *
Original file line number Diff line number Diff line change @@ -179,11 +179,11 @@ void err_argerr(void) {
179
179
}
180
180
181
181
void err_varisarray (void ) {
182
- rt_raise (EVAL_VAR_IS_ARRAY );
182
+ err_throw (EVAL_VAR_IS_ARRAY );
183
183
}
184
184
185
185
void err_varisnotarray (void ) {
186
- rt_raise (EVAL_VAR_IS_NOT_ARRAY );
186
+ err_throw (EVAL_VAR_IS_NOT_ARRAY );
187
187
}
188
188
189
189
void err_vararridx (int i , int m ) {
Original file line number Diff line number Diff line change 172
172
#define EVAL_TYPE "Expr/RT: Type mismatch"
173
173
#define EVAL_PARAM "Expr/RT: Invalid parameter"
174
174
#define ERR_UNSUPPORTED "Unsupported"
175
- #define ERR_CONST "LET: Cannot change a constant"
175
+ #define ERR_CONST "LET: Cannot change a constant (CONST always has global scope) "
176
176
#define ERR_NOT_A_VAR "Not a variable"
177
177
#define ERR_NOT_ARR_OR_FUNC "NOT an array OR function"
178
178
#define ERR_RANGE "Out of range"
You can’t perform that action at this time.
0 commit comments