Skip to content

Duplicate label/definition detection, and a fix.#10

Open
ProtoSebastian wants to merge 2 commits intomattbatwings:mainfrom
ProtoSebastian:main
Open

Duplicate label/definition detection, and a fix.#10
ProtoSebastian wants to merge 2 commits intomattbatwings:mainfrom
ProtoSebastian:main

Conversation

@ProtoSebastian
Copy link
Copy Markdown

Added a few lines to detect duplicate labels/definitions and include them in the exit message, so it works with Ado's VM too.

I'm pretty sure Matt meant to also make it possible for definitions to have multiple number formats so I changed it to support them too.

Added a few lines to detect duplicate labels/definitions and include
them in the exit message, so it works with Ado's VM too.

I'm pretty sure Matt meant to also make it possible for definitions to
have multiple number formats so I changed it to support them too.
@ProtoSebastian
Copy link
Copy Markdown
Author

are labels and definitions supposed to be case-insensitive, btw..?

Made definition resolution use resolve() so it can use other
previously-defined definitions, and ISA-defined symbols like "R0" "R1"
or "pixel_x"
Copy link
Copy Markdown
Author

@ProtoSebastian ProtoSebastian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes all work on my system, and they work with Ado's VM (the error messages show up correctly on the VM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant