diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-03 19:02:33 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-03 19:02:33 +0100 |
| commit | 15cb0fb33aca361848c9f64b3ac54166768527bd (patch) | |
| tree | ca8f2b1e336ce96e9e6806bce0dce14e419c29c1 /tests/expected/bad_fallthrough.txt | |
| parent | 42eea452eabf2c603e5f50731ba89f08e3dd81bd (diff) | |
| download | tools.nes-15cb0fb33aca361848c9f64b3ac54166768527bd.tar.gz tools.nes-15cb0fb33aca361848c9f64b3ac54166768527bd.zip | |
Make the fallthrough error more explicit
Add the target and effective addresses into the message, so it's more
clear how different they are.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/expected/bad_fallthrough.txt')
| -rw-r--r-- | tests/expected/bad_fallthrough.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/expected/bad_fallthrough.txt b/tests/expected/bad_fallthrough.txt index f105880..2ee8b52 100644 --- a/tests/expected/bad_fallthrough.txt +++ b/tests/expected/bad_fallthrough.txt @@ -1,4 +1,4 @@ -error: statement does not fall through (bad_fallthrough.s: line 11) -error: statement does not fall through (bad_fallthrough.s: line 14) -error: statement does not fall through (bad_fallthrough.s: line 15) +error: statement expects to progress on 'bar' ($8004), but the next address is $8002 (bad_fallthrough.s: line 11) +error: statement expects to progress on 'bar' ($8004), but the next address is $8002 (bad_fallthrough.s: line 14) +error: statement expects to progress on 'other' ($8006), but the next address is $8002 (bad_fallthrough.s: line 15) error: statement does not fall through (bad_fallthrough.s: line 27) |
