php-mode icon indicating copy to clipboard operation
php-mode copied to clipboard

Unexpected syntax highlights after "new" in string

Open suzuki opened this issue 2 years ago • 1 comments

About

  • I found unexpected syntax highlights in the string after "new"
  • I think it is affected by "new" for object creation

Screenshot

"ne foo" "new foo"
ne foo new foo
"foo" is sting color "foo" is object color, maybe

Environments

(emacs-version)
"GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.4.0, NS appkit-2113.40 Version 12.3.1 (Build 21E258))
 of 2022-05-13"

(php-mode-version)
"PHP Mode 1.24.1"

suzuki avatar Oct 28 '22 00:10 suzuki

Thank you for reporting. Maybe same as https://github.com/emacs-php/php-mode/issues/493.

zonuexe avatar Oct 28 '22 04:10 zonuexe