From 320cdaf0be62e3ea4c36c4a821bcd95ba2ae4aff Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sun, 18 Feb 2018 23:03:57 -0300 Subject: [PATCH] Revert comparison with line length to check error. The test fails with lines that have only the comment character. --- src/parse.asm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/parse.asm b/src/parse.asm index 38bc829..2bf099a 100644 --- a/src/parse.asm +++ b/src/parse.asm @@ -210,7 +210,6 @@ skip_str: ucase_end: ; Store line length to verify complete parsing - sty parse_line_len tya sec adc buf_ptr @@ -337,8 +336,8 @@ pexit_ok: sta pptr+1 bne ploop ldy bpos - cpy #00 -parse_line_len=*-1 + lda (bptr), y + cmp #$9B bne set_parse_error line_ok: ; Increases output buffer