MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / parser_label_passthrough

Function parser_label_passthrough

crates/asm-to-binary/src/assembler/mod.rs:256–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 assert_eq!(&output.text_bytes()[4..8], &42u32.to_le_bytes());
255
256 let duplicate = crate::parse_asm_source(None, ".equ N, 1\n.set N, 2\n");
257 let error = Assembler::assemble(&duplicate).expect_err("duplicate constant");
258 assert!(error.message.contains("duplicate assembler constant `N`"));
259 }
260
261 // ---- reg_parse ----
262

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected