You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the merge of #18 I noticed that doesn't handle a (rather important) corner case…
The following test shows this is not handled by the parser yet:
symbol_0 ; label;!error <TBD>symbol_0 = "overrides symbol_0 (changing type from label to var)"
On the other hand re-assigning a var is fine:
symbol_1 = 1233symbol_1 = symbol_1 +1 ; re-assigning is good :)
This can be handled with the "final" flag and basically relies on the "const" definition of a label type.
Note this only applies to assignment types as other symbols (macro, enum, section, … ) are named "anonymously" - thus clearly distinguish from each other.
The text was updated successfully, but these errors were encountered:
After the merge of #18 I noticed that doesn't handle a (rather important) corner case…
The following test shows this is not handled by the parser yet:
On the other hand re-assigning a var is fine:
This can be handled with the "final" flag and basically relies on the "const" definition of a label type.
Note this only applies to assignment types as other symbols (macro, enum, section, … ) are named "anonymously" - thus clearly distinguish from each other.
The text was updated successfully, but these errors were encountered: