Skip to content

Commit

Permalink
- Issue #260: Double Entry Point Definition (corrected fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Nov 21, 2021
1 parent aa20359 commit e0f98cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cscs/ScriptParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ void ProcessFile(ScriptInfo fileInfo)
this.fileParsers.Add(importedFile);
this.fileParsers.Sort(fileComparer);

if (importedFile.fileNameImported.IsEmpty())
importedFile.fileNameImported = importedFile.fileName;

foreach (string namespaceName in importedFile.ReferencedNamespaces)
PushNamespace(namespaceName);

Expand Down

0 comments on commit e0f98cf

Please sign in to comment.