Skip to content

Commit 165d1f2

Browse files
committed
Fix indexing of generic methods.
Closes #83
1 parent b56c250 commit 165d1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ to the beginning of the prior namespace.
17661766
;; but that's a compiler problem, not a imenu-problem
17671767
(access-modifier-list (concat "\\(?:" access-modifier space "\\)"))
17681768
(access-modifiers (concat access-modifier-list "*"))
1769-
(return-type "\\(?:[[:alpha:]_][^ =\t\(\n\r\f\v]+\\)")
1769+
(return-type "\\(?:[[:alpha:]_][^ =\t\(\n\r\f\v]*\\)")
17701770
(identifier "[[:alpha:]_][[:alnum:]_]*")
17711771
(interface-prefix (concat "\\(?:" identifier "\\.\\)"))
17721772
(generic-identifier (concat identifier

0 commit comments

Comments
 (0)