mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-19 14:23:13 +01:00
see #428 :: make identifiers unique for modules without module statement that are passed on command line; thanks SiegeLord
This commit is contained in:
@@ -770,7 +770,7 @@ LDC_TARGETS
|
||||
goto Linvalid;
|
||||
}
|
||||
|
||||
id = new Identifier(name, 0);
|
||||
id = Lexer::idPool(name);
|
||||
m = new Module((char *) files.data[i], id, global.params.doDocComments, global.params.doHdrGeneration);
|
||||
modules.push(m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user