File tree 1 file changed +4
-6
lines changed
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'."
386
386
php " \\ s-*\\ (<\\ ?(=\\ |\\ sw+)\\ )" )
387
387
388
388
(c-lang-defconst c-identifier-ops
389
- php '(
390
- (left-assoc " \\ " " ::" " ->" )
389
+ php '((left-assoc " \\ " " ::" " ->" )
391
390
(prefix " \\ " " ::" )))
392
391
393
392
(c-lang-defconst c-operators
@@ -455,7 +454,7 @@ contains another declaration level that should be considered a class."
455
454
" Keywords introducing declarations where the following block (if
456
455
any) is a brace list.
457
456
458
- PHP does not have an \" enum\" -like keyword."
457
+ PHP does not have an C-like \" enum\" keyword."
459
458
php nil )
460
459
461
460
(c-lang-defconst c-typeless-decl-kwds
@@ -500,8 +499,7 @@ PHP does not have an \"enum\"-like keyword."
500
499
(c-lang-defconst c-other-kwds
501
500
" Keywords not accounted for by any other `*-kwds' language constant."
502
501
php
503
- '(
504
- " __halt_compiler"
502
+ '(" __halt_compiler"
505
503
" and"
506
504
" array"
507
505
" as"
@@ -1203,7 +1201,7 @@ After setting the stylevars run hooks according to STYLENAME
1203
1201
1204
1202
(when (fboundp 'c-looking-at-or-maybe-in-bracelist )
1205
1203
(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) ))
1207
1205
(advice-add #'fixup-whitespace :after #'php-mode--fixup-whitespace-after '(local))
1208
1206
1209
1207
(when (>= emacs-major-version 25 )
You can’t perform that action at this time.
0 commit comments