mirror of
https://github.com/ksherlock/x65.git
synced 2026-04-24 07:16:50 +00:00
First column in Merlin mode recognizes scope braces ('{' and '}')
This commit is contained in:
@@ -5700,7 +5700,7 @@ StatusCode Asm::BuildLine(strref line)
|
||||
line.trim_whitespace();
|
||||
bool force_label = charE==':' || charE=='$';
|
||||
if (!force_label && Merlin() && (line || operation)) // MERLIN fixes and PoP does some naughty stuff like 'and = 0'
|
||||
force_label = !strref::is_ws(char0) || char1==']' || charE=='?';
|
||||
force_label = (!strref::is_ws(char0) && char0!='{' && char0!='}') || char1==']' || charE=='?';
|
||||
else if (!Merlin() && line[0]==':')
|
||||
force_label = true;
|
||||
if (!operation && !force_label) {
|
||||
|
||||
Reference in New Issue
Block a user