Handle leading colons properly
This commit is contained in:
parent
6f45f62ded
commit
8e7bbc9e9d
3 changed files with 46 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue