Logo
Explore Help
Sign In
andrew/akbasic
1
0
Fork 0
You've already forked akbasic
Code Issues 31 Pull Requests 1 Actions 1 Packages Projects Releases Wiki Activity
Files
e82efc5bc12ca357a71854951345d940fdea2694
akbasic/tests/language/statements/rem_indented_line.txt

4 lines
7 B
Plaintext
Raw Normal View History

Reset the scanner's leftover token type between lines The REM early-exit leaves tokentype holding AKBASIC_TOK_REM, and the scan loop's post-switch check reads it before the next line's first character has assigned anything. A line opening with whitespace then re-triggered the REM break and scanned to nothing: every indented line after a REM was silently skipped. Numbered programs never saw it -- the line number is the first token and overwrites the leftover -- which is why the whole golden corpus missed it and the unnumbered, indented galaga.bas found it. Co-authored-by: andrew <andrew@aklabs.net> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XiGgpHuXUm2mR4Wzndw3dc
2026-08-04 08:46:51 -04:00
1
2
15
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 90ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API