File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,7 @@ In that case set to `NIL'."
386386 php " \\ s-*\\ (<\\ ?(=\\ |\\ sw+)\\ )" )
387387
388388(c-lang-defconst c-identifier-ops
389- php '(
390- (left-assoc " \\ " " ::" " ->" )
389+ php '((left-assoc " \\ " " ::" " ->" )
391390 (prefix " \\ " " ::" )))
392391
393392(c-lang-defconst c-operators
@@ -455,7 +454,7 @@ contains another declaration level that should be considered a class."
455454 " Keywords introducing declarations where the following block (if
456455any) is a brace list.
457456
458- PHP does not have an \" enum\" -like keyword."
457+ PHP does not have an C-like \" enum\" keyword."
459458 php nil )
460459
461460(c-lang-defconst c-typeless-decl-kwds
@@ -500,8 +499,7 @@ PHP does not have an \"enum\"-like keyword."
500499(c-lang-defconst c-other-kwds
501500 " Keywords not accounted for by any other `*-kwds' language constant."
502501 php
503- '(
504- " __halt_compiler"
502+ '(" __halt_compiler"
505503 " and"
506504 " array"
507505 " as"
@@ -1203,7 +1201,7 @@ After setting the stylevars run hooks according to STYLENAME
12031201
12041202 (when (fboundp 'c-looking-at-or-maybe-in-bracelist )
12051203 (advice-add #'c-looking-at-or-maybe-in-bracelist
1206- :override 'php-c-looking-at-or-maybe-in-bracelist ))
1204+ :override 'php-c-looking-at-or-maybe-in-bracelist '(local) ))
12071205 (advice-add #'fixup-whitespace :after #'php-mode--fixup-whitespace-after '(local))
12081206
12091207 (when (>= emacs-major-version 25 )
You can’t perform that action at this time.
0 commit comments