File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -476,29 +476,25 @@ PHP does not have an \"enum\"-like keyword."
476476 php nil )
477477
478478(c-lang-defconst c-block-stmt-2-kwds
479- php (append '(" elseif" " foreach" " declare" )
480- (remove " synchronized" (c-lang-const c-block-stmt-2-kwds))))
479+ php '(" catch" " declare" " elseif" " for" " foreach" " if" " switch" " while" ))
481480
482481(c-lang-defconst c-simple-stmt-kwds
483- php (append '(" include" " include_once" " require" " require_once"
484- " echo" " print" " die" " exit" )
485- (c-lang-const c-simple-stmt-kwds)))
482+ php '(" break" " continue" " die" " echo" " exit" " goto" " return" " throw"
483+ " include" " include_once" " print" " require" " require_once" ))
486484
487485(c-lang-defconst c-constant-kwds
488- php '(" true"
489- " false"
490- " null" ))
486+ php '(" true" " false" " null" ))
491487
492488(c-lang-defconst c-lambda-kwds
493- php '(" function"
494- " use" ))
489+ php '(" function" " use" ))
495490
496491(c-lang-defconst c-other-block-decl-kwds
497492 php '(" namespace" ))
498493
499494(c-lang-defconst c-other-kwds
500495 " Keywords not accounted for by any other `*-kwds' language constant."
501- php '(
496+ php
497+ '(
502498 " __halt_compiler"
503499 " and"
504500 " array"
You can’t perform that action at this time.
0 commit comments