Skip to content

Commit

Permalink
Avoid crash for win32icon (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Jun 27, 2023
1 parent adaa7ac commit 23d2e0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Basic.CompilerLog.Util/CompilerLogReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ internal RawCompilationData ReadRawCompilationData(CompilerCall compilerCall)
case "r":
ParseResource(line);
break;
case "win32icon":
ParseContent(line, RawContentKind.Win32Icon);
break;
default:
throw new InvalidOperationException($"Unrecognized line: {line}");
}
Expand Down

0 comments on commit 23d2e0f

Please sign in to comment.