diff options
author | Richard van Velzen <richard@goreply.com> | 2023-03-01 00:09:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 00:09:29 +0100 |
commit | 3cf25c36fce6ea55759c781a517ce95a89a267bb (patch) | |
tree | 00597dfe49611612b46f7f93b9aab8bcb70fc921 /tests/examplefiles/php | |
parent | 5b96a7f12bff42234054fd3a3f6751c1ac3aed18 (diff) | |
download | pygments-git-3cf25c36fce6ea55759c781a517ce95a89a267bb.tar.gz |
Improve lexing PHP attributes (#2360)
Diffstat (limited to 'tests/examplefiles/php')
-rw-r--r-- | tests/examplefiles/php/test.php | 5 | ||||
-rw-r--r-- | tests/examplefiles/php/test.php.output | 18 |
2 files changed, 0 insertions, 23 deletions
diff --git a/tests/examplefiles/php/test.php b/tests/examplefiles/php/test.php index 0076e04b..05a6b573 100644 --- a/tests/examplefiles/php/test.php +++ b/tests/examplefiles/php/test.php @@ -540,9 +540,4 @@ more heredoc testing continues on this line some_delimiter; -?> - -<?php -#[Attribute] -class Extra {} ?>
\ No newline at end of file diff --git a/tests/examplefiles/php/test.php.output b/tests/examplefiles/php/test.php.output index 8337da7b..7d63ddb3 100644 --- a/tests/examplefiles/php/test.php.output +++ b/tests/examplefiles/php/test.php.output @@ -3101,22 +3101,4 @@ '\n' Text '?>' Comment.Preproc -'\n\n' Other - -'<?php' Comment.Preproc -'\n' Text - -'#[' Punctuation -'Attribute' Name.Other -']' Punctuation -'\n' Text - -'class' Keyword -' ' Text -'Extra' Name.Class -' ' Text -'{}' Punctuation -'\n' Text - -'?>' Comment.Preproc '\n' Other |