Long standing assembler bugs fixed, new path system. Make compatibility update.

This commit is contained in:
Anachronaut
2026-08-14 16:53:28 -04:00
parent 94b3a7af28
commit 638b68b25c
32 changed files with 1002 additions and 273 deletions
+12
View File
@@ -14,6 +14,18 @@
void freeIncludeList();
// Adds a directory to search when an #Include is not found beside the file that
// asked for it. Directories are searched in the order they were added.
void addIncludeDirectory(const char *directory);
// Records a source file and returns the copy the assembler will keep, which is what
// element fileNames point at. Returns NULL if this file has already been included.
char *recordSourceFile(char *path);
// Every source file that went into this assembly, for writing make dependencies.
int sourceFileCount();
const char *sourceFile(int index);
int loadFile(intermediateElement **intermediateArray, char *fileName, int *intermediateIndex, size_t *arraySize);
#endif // FIRSTPASS_H