File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/analysis Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1919
2020 /*
2121 * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
22- * Portions Copyright (c) 2017-2018 , Chris Fraire <cfraire@me.com>.
22+ * Portions Copyright (c) 2017-2019 , Chris Fraire <cfraire@me.com>.
2323 */
2424package org .opengrok .indexer .analysis ;
2525
@@ -137,9 +137,6 @@ private void initialize() throws IOException {
137137 command .add (binary );
138138 command .add ("--c-kinds=+l" );
139139
140- command .add ("--langmap=clojure:+.cljs" );
141- command .add ("--langmap=clojure:+.cljx" );
142-
143140 // Workaround for bug #14924: Don't get local variables in Java
144141 // code since that creates many false positives.
145142 // CtagsTest : bug14924 "too many methods" guards for this
@@ -319,6 +316,8 @@ private void addKotlinSupport(List<String> command) {
319316 private void addClojureSupport (List <String > command ) {
320317 command .add ("--langdef=clojure" ); // clojure support (patterns are from https://gist.github.com/kul/8704283)
321318 command .add ("--langmap=clojure:+.clj" );
319+ command .add ("--langmap=clojure:+.cljs" );
320+ command .add ("--langmap=clojure:+.cljx" );
322321
323322 command .add ("--regex-clojure=/\\ ([[:space:]]*create-ns[[:space:]]+([-[:alnum:]*+!_:\\ /.?]+)/\\ 1/n,namespace/" );
324323 command .add ("--regex-clojure=/\\ ([[:space:]]*def[[:space:]]+([-[:alnum:]*+!_:\\ /.?]+)/\\ 1/d,definition/" );
You can’t perform that action at this time.
0 commit comments