diff options
| author | Vincenzo Pupillo | 2025-08-28 23:29:30 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-09-13 12:41:55 +0300 |
| commit | abfd8a454a9af33317558a7f904088830946d37b (patch) | |
| tree | e09d03f30422603fe3ecc51de5a878efc24f5426 /src/bytecode.c | |
| parent | d02181e39f3bd6ca04445609cdacf44022d18b7c (diff) | |
| download | emacs-abfd8a454a9af33317558a7f904088830946d37b.tar.gz emacs-abfd8a454a9af33317558a7f904088830946d37b.zip | |
Add support for PHP 8.5 in 'php-ts-mode.el'
* lisp/progmodes/php-ts-mode.el: Doc string update.
(php-ts-mode--language-source-alist): PHP grammar update.
(php-ts-mode-find-sibling-rules): Doc string fix.
(php-ts-mode--parent-html-heuristic): Handled the case where there
is no HTML between two blocks of PHP code.
(php-ts-mode--array-element-heuristic): Fix typo.
(php-ts-mode--pipe-heuristic): New function that handle PHP's new
pipe operator.
(php-ts-mode--indent-styles): Removed commented code. More
accurate indentation of ‘member_call_expression’. Use of new
function to handle pipe operator indentation. New rule for
indenting ‘property_hook_list’.
(php-ts-mode--test-yield-from-p): New predicate to check whether
the 'yield from' keyword is supported by the PHP grammar.
(php-ts-mode--test-pipe-p): New predicate to check whether the
‘pipe’ operator is supported by the PHP grammar.
(php-ts-mode--keywords): Use the new predicate
'php-ts-mode--test-yield-from-p'. Now it is a var instead of a
const.
(php-ts-mode--operators): Use the new predicate
'php-ts-mode--test-pipe-p'. Now it is a var instead of a const.
(php-ts-mode--font-lock-settings): New rules for
'nullsafe_member_access_expression', 'callable' primitive type.
New rule for the 'php_end_tag' if supported by the grammar.
More precise rules for 'scoped_call_expression' and
'member_call_expression'.
(php-ts-mode--inferior-php-process): Removed this unnecessary
variable.
(inferior-php-ts-mode-startup): Removed the use of
'php-ts-mode--inferior-php-process'.
(php-ts-mode-inferior--write-history): Removed the use of
'php-ts-mode--inferior-php-process'.
(Bug#79339)
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions