fixed end of statement check
This commit is contained in:
1 parent
b9bf1251da
commit
a17f810d50
7 files changed
+46
-56
No files matched your search
@@ -8,7 +8,7 @@ cmd_print:
|
||||
|
||||
// First check if we have anything to print
|
||||
|
||||
jsr end_of_statement_check
|
||||
jsr is_end_of_statement
|
||||
bcs cmd_print_new_line_done
|
||||
|
||||
jsr fetch_character
|
||||
@@ -76,7 +76,7 @@ cmd_print_next_arg:
|
||||
|
||||
// Look for the next argument
|
||||
|
||||
jsr end_of_statement_check
|
||||
jsr is_end_of_statement
|
||||
bcs cmd_print_new_line_done
|
||||
|
||||
cmp #$2C // comma XXX on C64 behavior is more complicated, fix it
|
||||
|
||||
@@ -20,7 +20,7 @@ cmd_goto:
|
||||
// Reset line pointer to first line of program.
|
||||
jsr init_oldtxt
|
||||
|
||||
jsr end_of_statement_check
|
||||
jsr is_end_of_statement
|
||||
bcs !+
|
||||
|
||||
jsr fetch_line_number
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
cmd_sys:
|
||||
|
||||
jsr end_of_statement_check
|
||||
jsr is_end_of_statement
|
||||
bcc !+
|
||||
|
||||
// SYS requires an argument
|
||||
|
||||
@@ -11,7 +11,7 @@ helper_load_fetch_filename:
|
||||
|
||||
// Check if end of statement
|
||||
|
||||
jsr end_of_statement_check
|
||||
jsr is_end_of_statement
|
||||
bcs !+
|
||||
|
||||
// Call the expression parser, make sure it returned a string
|
||||
|
||||
Reference in new issue
Block a user