Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c06130

Browse files
committedJan 9, 2022
Add c-paragraph-start for matching annotation and attributes
1 parent 010d0f6 commit 5c06130

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

Diff for: ‎lisp/php-mode.el

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

553+
(c-lang-defconst c-paragraph-start
554+
php (eval-when-compile
555+
(rx (group (or (: "@" (in "a-zA-Z" "\\") word-end)
556+
(: "#[")
557+
eol)))))
558+
559+
(c-lang-defconst c-other-decl-kwds
560+
php nil)
561+
553562
(c-lang-defconst c-nonlabel-token-key
554563
"Regexp matching things that can't occur in generic colon labels.
555564

0 commit comments

Comments
 (0)
Please sign in to comment.