Skip to content

Commit 899fe9a

Browse files
committed
attempt number 4 build break correction
Needed to keep tags unknown to Excuberant ctags out of execution.
1 parent 4efb8c4 commit 899fe9a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/org/opensolaris/opengrok/analysis/Ctags.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,11 @@ private void initialize() throws IOException {
241241
// PowerShell
242242
command.add("--langdef=Posh");
243243
command.add("--langmap=Posh:+.ps1,Posh:+.psm1");
244-
command.add("--_fielddef-Posh=signature,signatures");
245-
command.add("--fields-Posh=+{signature}");
244+
245+
if (env.isUniversalCtags()) {
246+
command.add("--_fielddef-Posh=signature,signatures");
247+
command.add("--fields-Posh=+{signature}");
248+
}
246249

247250
// escaped variable markers
248251
command.add("--regex-Posh=/`\\$([[:alnum:]_]+([:.][[:alnum:]_]+)*)/\\1//{exclusive}");

0 commit comments

Comments
 (0)