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 19
19
20
20
/*
21
21
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
22
- * Portions Copyright (c) 2017-2018 , Chris Fraire <[email protected] >.
22
+ * Portions Copyright (c) 2017-2019 , Chris Fraire <[email protected] >.
23
23
*/
24
24
package org .opengrok .indexer .analysis ;
25
25
@@ -137,9 +137,6 @@ private void initialize() throws IOException {
137
137
command .add (binary );
138
138
command .add ("--c-kinds=+l" );
139
139
140
- command .add ("--langmap=clojure:+.cljs" );
141
- command .add ("--langmap=clojure:+.cljx" );
142
-
143
140
// Workaround for bug #14924: Don't get local variables in Java
144
141
// code since that creates many false positives.
145
142
// CtagsTest : bug14924 "too many methods" guards for this
@@ -319,6 +316,8 @@ private void addKotlinSupport(List<String> command) {
319
316
private void addClojureSupport (List <String > command ) {
320
317
command .add ("--langdef=clojure" ); // clojure support (patterns are from https://gist.github.com/kul/8704283)
321
318
command .add ("--langmap=clojure:+.clj" );
319
+ command .add ("--langmap=clojure:+.cljs" );
320
+ command .add ("--langmap=clojure:+.cljx" );
322
321
323
322
command .add ("--regex-clojure=/\\ ([[:space:]]*create-ns[[:space:]]+([-[:alnum:]*+!_:\\ /.?]+)/\\ 1/n,namespace/" );
324
323
command .add ("--regex-clojure=/\\ ([[:space:]]*def[[:space:]]+([-[:alnum:]*+!_:\\ /.?]+)/\\ 1/d,definition/" );
You can’t perform that action at this time.
0 commit comments