[PHP] Update PHP keyword list
Add PHP keywords 'fn' (added in 7.4) and 'match' (added in 8.0) to the list SWIG knows to automatically rename.
This commit is contained in:
parent
c78325a82a
commit
76c2c4675b
2 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ PHPKW(endwhile);
|
|||
PHPKW(extends);
|
||||
PHPKW(final);
|
||||
PHPKW(finally);
|
||||
PHPKW(fn); // as of PHP 7.4
|
||||
PHPKW(for);
|
||||
PHPKW(foreach);
|
||||
PHPKW(function);
|
||||
|
|
@ -65,6 +66,7 @@ PHPKW(implements);
|
|||
PHPKW(instanceof);
|
||||
PHPKW(insteadof);
|
||||
PHPKW(interface);
|
||||
PHPKW(match); // as of PHP 8.0
|
||||
PHPKW(namespace);
|
||||
PHPKW(new);
|
||||
PHPKW(or);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue