Skip to content

Fails to find many symbols when compiling dcpu-cbmbasic #4

@unbibium

Description

@unbibium

When I compile the version of dcpu-cbmbasic tagged labelfails, the compiler failed to resolve many labels.

One of these errors was about the label NDX, which gave one error, even though it is referenced many times in the code. This suggests that it failed because it was referenced before it was defined, or before the file it was defined in was included. I can't really tell because the error doesn't give a file reference or line number itself. I did notice that io.dasm16 was the last file to be loaded, and it's where DEF_LOAD and similar labels are defined, and a lot of those gave errors too. So, maybe another pass needs to be added to the compiler to allow forward-references to other files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions