Assign source files their actual locations

This commit is contained in:
Curle 2022-03-05 01:22:54 +00:00
parent 37cdaacc71
commit 2c27f2eb40

View File

@ -154,6 +154,7 @@ int main(int argc, char* argv[]) {
while (i < argc) { while (i < argc) {
// Prepare the source metadata before we start compiling // Prepare the source metadata before we start compiling
struct FileData* Source = malloc(sizeof(struct FileData)); struct FileData* Source = malloc(sizeof(struct FileData));
Source->SourceName = argv[i];
Files[i] = Source; Files[i] = Source;
// Compile the file by invoking the Delegate // Compile the file by invoking the Delegate