tests/languages/php/comment_feature.test


Log

Author Commit Date CI Message
Tom Pavelec 38808e64 2020-10-13T14:03:42 PHP: Added support for PHP 7.4 + other major improvements (#2566)
Andreas Rohner 0a00d7f7 2017-02-10T17:10:19 Fix the PHP language This patch is an attempt to fix the PHP language, when it is combined with markup. The problem is, that markup has a higher priority than all other tokens. This leads to weird errors, where HTML tags are highlighted inside of comments #197. One solution to this was to set the `greedy` flag for the comment token, but this leads to far worse errors like #1097. This patch should fix both issues #197 and #1097, by switching the grammar to markup on the fly. One potential problem is, that it relies on the `<?php` tag to detect if markup is present. So if a PHP file contains only markup and no PHP code at all, the result will look broken.
Golmote afe78bd9 2015-08-29T23:17:12 Add tests for PHP