mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Compiler compiles for x86 (doesn't work properly)
This commit is contained in:
+2
-2
@@ -1087,6 +1087,7 @@ proc sbprintf(b: ^StringBuffer, fmt: string, args: ..any) -> string {
|
||||
was_prev_index = false;
|
||||
fi: FmtInfo;
|
||||
)
|
||||
|
||||
for var i = 0; i < end; /**/ {
|
||||
fi = FmtInfo{buf = b, good_arg_index = true};
|
||||
|
||||
@@ -1104,8 +1105,7 @@ proc sbprintf(b: ^StringBuffer, fmt: string, args: ..any) -> string {
|
||||
// Process a "verb"
|
||||
i++;
|
||||
|
||||
prefix_loop:
|
||||
for ; i < end; i++ {
|
||||
prefix_loop: for ; i < end; i++ {
|
||||
match fmt[i] {
|
||||
case '+':
|
||||
fi.plus = true;
|
||||
|
||||
Reference in New Issue
Block a user