Fix #356
This commit is contained in:
parent
2b5e765f85
commit
d7ab1023a7
|
@ -264,12 +264,12 @@ else
|
|||
}
|
||||
else if (imports)
|
||||
{
|
||||
string[] fileNames = usingStdin ? ["stdin"] : args[1 .. $];
|
||||
string[] fileNames = usingStdin ? ["stdin"] : expandArgs(args);
|
||||
RollbackAllocator rba;
|
||||
LexerConfig config;
|
||||
config.stringBehavior = StringBehavior.source;
|
||||
auto visitor = new ImportPrinter;
|
||||
foreach (name; expandArgs(fileNames))
|
||||
foreach (name; fileNames)
|
||||
{
|
||||
config.fileName = name;
|
||||
auto tokens = getTokensForParser(usingStdin ? readStdin()
|
||||
|
|
Loading…
Reference in New Issue