inline assembly: implement gcc's "%=" syntax

This commit is contained in:
samy007
2025-05-01 16:55:18 +02:00
committed by Alex Rønne Petersen
parent a843be44a0
commit c0ec264f75

View File

@@ -7453,6 +7453,10 @@ pub const FuncGen = struct {
name_start = i + 1;
state = .input;
},
'=' => {
try rendered_template.appendSlice("${:uid}");
state = .start;
},
else => {
try rendered_template.append('%');
try rendered_template.append(byte);