aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-24 12:57:25 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-24 12:57:25 +0200
commit2cbd68f149919f34be90c5727e0a9359c21e9650 (patch)
treeb64085b05a27b0887efb5c6989a0f6a6a7a8bbb8
parentf89306f26f7fe26d7553c11111d49d971b174cea (diff)
downloadtools.nes-2cbd68f149919f34be90c5727e0a9359c21e9650.tar.gz
tools.nes-2cbd68f149919f34be90c5727e0a9359c21e9650.zip
Fix outdated comment on __fallthrough__
Since commit 31dd071e927a ("Change .fallthrough to __fallthrough__") this pseudo control statement is declared via underscores, not like a proper control statement. That was done in order to avoid clashes with ca65, and in order to allow nasm's --prelude to produce a .macro replacement for it when using ca65. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--lib/xixanta/src/assembler.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/xixanta/src/assembler.rs b/lib/xixanta/src/assembler.rs
index a5937ba..8ad72b2 100644
--- a/lib/xixanta/src/assembler.rs
+++ b/lib/xixanta/src/assembler.rs
@@ -997,10 +997,10 @@ impl<'a> Assembler<'a> {
self.labels_seen = pn.labels_seen;
self.context.force_context_switch(&pn.context);
- // .fallthrough is handled here, whenever we already know addresses,
- // sizes, etc. If this is the case, this is not a real node that can
- // be bundled, but perform its check and move into the next
- // iteration.
+ // __fallthrough__ is handled here, whenever we already know
+ // addresses, sizes, etc. If this is the case, this is not a real
+ // node that can be bundled, but perform its check and move into the
+ // next iteration.
//
// NOTE: this has to happen with a context switch, otherwise the
// name resolution won't be accurate.