Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid syntaxes still compile #11

Open
ISSOtm opened this issue Apr 2, 2017 · 1 comment
Open

Invalid syntaxes still compile #11

ISSOtm opened this issue Apr 2, 2017 · 1 comment
Assignees

Comments

@ISSOtm
Copy link
Owner

ISSOtm commented Apr 2, 2017

Syntaxes such as dw $C0 DE compile successfully, even though they should not.

This comes from the assembler, which ignores everything /\w/ - aside from the first of those, since it's the one that separates the instruction from the operands.

@ISSOtm ISSOtm self-assigned this Apr 2, 2017
@ISSOtm
Copy link
Owner Author

ISSOtm commented Apr 2, 2017

Wonder why wontfix ? Because this is VERY minor. This may even improve readability.
Besides, this compiler isn't professional-quality code.
Just leaving this here if some tickling fuzzer pokes me about this (hint : it already happened :D), I'll just tell them "I know, Ye-" and link here.

Let's call it a feature. And a day.

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

No branches or pull requests

1 participant