Skip to content

Wrongly parsing constant identifiers #55

@theKidOfArcrania

Description

@theKidOfArcrania

Related to #54.

When I tried exploring the bug in #54 further, and modified my code to this:

A = readdirx

Which should give me a compiler error when compiled, even on i386, I found that I get no error, and it decompiles to this:

 line  CODE  JT   JF      K
=================================
 0000: 0x00 0x00 0x00 0x00000059  A = 89

Which matches the sys_readdir constant even though I set it to readdirx. Something might be wrong in how the tokenizer or parser parses tokens, probably. I haven't looked much further into the code for it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions