arm: make disassembler have lowercase mnemonics
This commit is contained in:
parent
3e7f0e61df
commit
2f7c457f8b
1 changed files with 5 additions and 1 deletions
6
build.rs
6
build.rs
|
|
@ -782,7 +782,11 @@ fn emit_token(
|
|||
) {
|
||||
if !tok.is_link {
|
||||
// Literal text - escape for Rust string
|
||||
let escaped = tok.text.replace('\\', "\\\\").replace('"', "\\\"");
|
||||
let escaped = tok
|
||||
.text
|
||||
.replace('\\', "\\\\")
|
||||
.replace('"', "\\\"")
|
||||
.to_lowercase();
|
||||
if !escaped.is_empty() {
|
||||
writeln!(out, " write!(__f,\"{escaped}\")?;").unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue