Skip to content

Commit 4359c6c

Browse files
committed
Add c-paragraph-start for matching annotation and attributes
1 parent 47e0813 commit 4359c6c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lisp/php-mode.el

+9
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,15 @@ PHP does not have an C-like \"enum\" keyword."
591591
(c-lang-defconst c-enums-contain-decls
592592
php nil)
593593

594+
(c-lang-defconst c-paragraph-start
595+
php (eval-when-compile
596+
(rx (group (or (: "@" (in "a-zA-Z" "\\") word-end)
597+
(: "#[")
598+
eol)))))
599+
600+
(c-lang-defconst c-other-decl-kwds
601+
php nil)
602+
594603
(c-lang-defconst c-nonlabel-token-key
595604
"Regexp matching things that can't occur in generic colon labels.
596605

0 commit comments

Comments
 (0)