Commit 105fe6e8

105fe6e80741Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 3 files · ~3 modified

Description

src: rename the spinelc diagnostic prefix to spinel

The binary is spinel now, so its stderr messages should say so. Replace the remaining "spinelc:" error prefixes (codegen.c, codegen_util.c) and a stray comment (analyze_scope.c) with "spinel". Diagnostic strings only; no behavior change, and no test depends on the old text.

make check: 846 pass, 0 fail.

Co-Authored-By: Claude Opus 4.8 (1M context) [email protected]

Details

Commit
105fe6e80741
Parent
7bc84c64dc36

src/analyze_scope.cmodifiedView file

@@ -274,7 +274,7 @@
274274 /* compiler_state_* class macros (see legacy/compiler_helpers.rb): declare a
275275 bag of typed instance variables and auto-synthesize init/dump/set methods.
276276 The CRuby shim that would define these via define_method is dead code under
277- RUBY_ENGINE != "ruby"; spinelc recognizes the macros natively here. */
277+ RUBY_ENGINE != "ruby"; spinel recognizes the macros natively here. */
278278 const char *cs_macro_kind(const char *nm) {
279279 if (!nm) return NULL;
280280 if (!strcmp(nm, "compiler_state_int")) return "int";