gp48k / zmac

Z-80 macro cross-assembler.
http://48k.ca/zmac.html
14 stars 7 forks source link

Added command-line options to enable local labels. #3

Closed ABlobOfGarbage closed 2 years ago

ABlobOfGarbage commented 2 years ago

I added --dotlocals and --filelocals --dotlocals makes it so that a label that starts with a '.' will be local between labels. --filelocals makes it so that a label that starts with a '_' will be local for the file it is in. These features were already in the code but you had to do it with --zmac, i made it so that you can enable them seperately.

The diff for some reason doesn't work for me.