File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/analysis Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ private void addScalaSupport(List<String> command) {
329
329
command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*case object[[:space:]]+([a-zA-Z0-9_]+)/\\ 4/O,case objects/" );
330
330
command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*trait[[:space:]]+([a-zA-Z0-9_]+)/\\ 4/t,traits/" );
331
331
command .add ("--regex-scala=/^[[:space:]]*type[[:space:]]+([a-zA-Z0-9_]+)/\\ 1/T,types/" );
332
- command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*def[[:space:]]+([a-zA-Z0-9_]+)/\\ 3/m,methods/" );
332
+ command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy|private|protected )[[:space:]]*)*def[[:space:]]+([a-zA-Z0-9_]+)/\\ 3/m,methods/" );
333
333
command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*val[[:space:]]+([a-zA-Z0-9_]+)/\\ 3/l,constants/" );
334
334
command .add ("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*var[[:space:]]+([a-zA-Z0-9_]+)/\\ 3/v,variables/" );
335
335
command .add ("--regex-scala=/^[[:space:]]*package[[:space:]]+([a-zA-Z0-9_.]+)/\\ 1/p,packages/" );
You can’t perform that action at this time.
0 commit comments