Commit 75dfffe9 authored by Camil Staps's avatar Camil Staps 🚀

Report clean error for too long records (resolves #80)

parent 19c74252
Pipeline #24876 failed with stages
in 12 minutes and 43 seconds
......@@ -4267,6 +4267,10 @@ struct label *code_descriptor
printf("%d\t.data2 %d %d\n",pgrm.data_size<<2,n,(arity-n)<<3);
store_data_l(n + (((arity-n)<<3)<<16));
if (n<arity-1 || (n==arity-1 && !strcmp (code_label_name,"__add__arg"))) {
if (n>N_ADD_ARG_LABELS) {
fprintf(stderr, "Error: _add_arg %d required\n",n);
exit(1);
}
if (list_code)
printf("%d\t.data4 _add_arg%d\n",pgrm.data_size<<2,n);
Fadd_arg_label_used[n]=1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment