Fixes BAS list 'Error: Break at: end of program' error.

This commit is contained in:
Cocoacrumbs 2021-11-04 09:20:44 +01:00 committed by Xiang Xiao
parent ea49e7edf6
commit a846e55a0e

View File

@ -731,11 +731,6 @@ struct Value *Program_list(struct Program *this, int dev, int watchIntr,
{
return Value_new_ERROR(value, IOERROR, FS_errmsg);
}
if (watchIntr)
{
return Value_new_ERROR(value, BREAK);
}
}
String_destroy(&s);