Skip to content

Commit 4d87f5e

Browse files
committedAug 17, 2019
Fix php-create-regexp-for-method pattern
1 parent 116926d commit 4d87f5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎php.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,11 @@ which will be the name of the method."
187187
(* (or "abstract" "final" "static")
188188
(+ (syntax whitespace))))
189189
'((* (* (or "abstract" "final" "static"
190-
"private" "protected" "public"))
191-
(+ (syntax whitespace)))))
190+
"private" "protected" "public")
191+
(+ (syntax whitespace))))))
192192
"function"
193193
(+ (syntax whitespace))
194+
(? "&" (* (syntax whitespace)))
194195
(group (+ (or (syntax word) (syntax symbol))))
195196
(* (syntax whitespace))
196197
"(")))

0 commit comments

Comments
 (0)
Please sign in to comment.