em00k / NextBuild

NextBuild : A suite of tools based on Boriel's ZX Basic Compiler targetting the ZX Spectrum Next
63 stars 6 forks source link

Feature/use label namespace for labels #17

Closed boriel closed 3 years ago

boriel commented 3 years ago

Move LABELxxx labels to .LABEL. namespace.

A namespace is no more than a prefix. .LABEL is the namespace for labels. This is required to avoid potential name clashed with user defined variables (i.e. if the user defines a variable named _LABEL__filename it will be mangled as __LABEL__filename which will clash with the ones using within the ASM scopes.

em00k commented 3 years ago

Merged!