You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/11/04 18:49:03 UTC

[incubator-nuttx-apps] branch master updated: Fixes BAS list 'Error: Break at: end of program' error.

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new a846e55  Fixes BAS list 'Error: Break at: end of program' error.
a846e55 is described below

commit a846e55a0e743cb1c809a921256462a68dd1150c
Author: Cocoacrumbs <kv...@telenet.be>
AuthorDate: Thu Nov 4 09:20:44 2021 +0100

    Fixes BAS list 'Error: Break at: end of program' error.
---
 interpreters/bas/bas_program.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/interpreters/bas/bas_program.c b/interpreters/bas/bas_program.c
index b437ea0..358d560 100644
--- a/interpreters/bas/bas_program.c
+++ b/interpreters/bas/bas_program.c
@@ -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);