mirror of
https://github.com/ziglang/zig.git
synced 2026-01-11 09:55:12 +00:00
stage2 llvm: handle dollar signs in asm template
This commit is contained in:
parent
ef7282bab4
commit
dbe0d3d579
@ -4637,6 +4637,7 @@ pub const FuncGen = struct {
|
||||
switch (state) {
|
||||
.start => switch (byte) {
|
||||
'%' => state = .percent,
|
||||
'$' => try rendered_template.appendSlice("$$"),
|
||||
else => try rendered_template.append(byte),
|
||||
},
|
||||
.percent => switch (byte) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user