Skip to content

Commit

Permalink
restore jflex lib discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsh committed Apr 14, 2021
1 parent 111a982 commit 8c9814f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/org/intellij/grammar/actions/BnfRunJFlexAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ private static void attachAndActivate(@NotNull Project project,

private static List<File> getOrDownload(@NotNull Project project, String... urls) {
List<File> result = new ArrayList<>();
if (false && findCommunitySources(project, result, urls)) return result;
if (false && findInProject(project, true, result, urls)) return result;
if (false && findExistingLibrary(result, urls)) return result;
if (false && findInProject(project, false, result, urls)) return result;
if (findCommunitySources(project, result, urls)) return result;
if (findInProject(project, true, result, urls)) return result;
if (findExistingLibrary(result, urls)) return result;
if (findInProject(project, false, result, urls)) return result;

String libraryName = "JFlex & idea-flex.skeleton";
List<Pair<VirtualFile, DownloadableFileDescription>> pairs = downloadFiles(project, libraryName, urls);
Expand Down

0 comments on commit 8c9814f

Please sign in to comment.