1
Fork 0

Handle leading colons properly

This commit is contained in:
asquared31415 2021-07-21 18:01:05 -04:00
parent 6f45f62ded
commit 8e7bbc9e9d
3 changed files with 46 additions and 33 deletions

View file

@ -511,6 +511,9 @@ fn expand_preparsed_asm(
// If we encounter a non-label, there cannot be any further labels, so stop checking
break;
}
} else {
// Empty string means a leading ':' in this section, which is not a label
break;
}
start_idx = idx + 1;