mirror of
https://github.com/ksherlock/x65.git
synced 2025-01-15 17:31:19 +00:00
Fix for enums
- enum assignment (=) was ignored
This commit is contained in:
parent
b1e9797160
commit
07b2b04763
2
x65.cpp
2
x65.cpp
@ -2379,7 +2379,7 @@ StatusCode Asm::BuildEnum(strref name, strref declaration)
|
||||
line = line.before_or_full(',');
|
||||
line.trim_whitespace();
|
||||
strref name = line.split_token_trim('=');
|
||||
line = line.before(';').before(c_comment).get_trimmed_ws();
|
||||
line = line.before_or_full(';').before_or_full(c_comment).get_trimmed_ws();
|
||||
if (line) {
|
||||
StatusCode error = EvalExpression(line, etx, value);
|
||||
if (error == STATUS_NOT_READY || error == STATUS_XREF_DEPENDENT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user