Skip to content

Commit

Permalink
Fix two bugs in Driver.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdoom5 committed Jan 24, 2025
1 parent 1bb086d commit 49ac4f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Generator/Driver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ public bool ParseLibraries()
using var res = ClangParser.ParseLibrary(linkerOptions);
if (res.Kind != ParserResultKind.Success)
{
res.Dispose();
continue;
}

Expand Down Expand Up @@ -454,7 +453,7 @@ public static bool Run(ILibrary library)

driver.SaveCode(outputs);
if (driver.Options.IsCSharpGenerator && driver.Options.CompileCode)
driver.Options.Modules.Any(m => !driver.CompileCode(m));
return driver.Options.Modules.Any(m => !driver.CompileCode(m));

return true;
}
Expand Down

0 comments on commit 49ac4f5

Please sign in to comment.