Commit cb2aea04 authored by Jesse McGrew's avatar Jesse McGrew

Fix the order of implicit include paths.

parent a716daad0387
......@@ -370,7 +370,7 @@ namespace Zilf
{
if (inFile != null && mode != RunMode.Expression)
{
includePaths.Add(Path.GetDirectoryName(Path.GetFullPath(inFile)));
includePaths.Insert(0, Path.GetDirectoryName(Path.GetFullPath(inFile)));
}
if (includePaths.Count == 0)
......@@ -393,7 +393,7 @@ namespace Zilf
var candidate = Path.Combine(zilfDir, n);
if (Directory.Exists(candidate))
{
includePaths.Insert(0, candidate);
includePaths.Add(candidate);
found = true;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment