Skip to content

Commit 8c9814f

Browse files
committedApr 14, 2021
restore jflex lib discovery
1 parent 111a982 commit 8c9814f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/org/intellij/grammar/actions/BnfRunJFlexAction.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ private static void attachAndActivate(@NotNull Project project,
264264

265265
private static List<File> getOrDownload(@NotNull Project project, String... urls) {
266266
List<File> result = new ArrayList<>();
267-
if (false && findCommunitySources(project, result, urls)) return result;
268-
if (false && findInProject(project, true, result, urls)) return result;
269-
if (false && findExistingLibrary(result, urls)) return result;
270-
if (false && findInProject(project, false, result, urls)) return result;
267+
if (findCommunitySources(project, result, urls)) return result;
268+
if (findInProject(project, true, result, urls)) return result;
269+
if (findExistingLibrary(result, urls)) return result;
270+
if (findInProject(project, false, result, urls)) return result;
271271

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

0 commit comments

Comments
 (0)
Please sign in to comment.