forked from SonicPixelation/DASM
-
Notifications
You must be signed in to change notification settings - Fork 1
Fails to find many symbols when compiling dcpu-cbmbasic #4
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels