-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incomplete handling of
use
statements (relative to namespaces):
* (sub)keywords `function` and `const` were tokenized as Name.Namespace * enumerated names in non-grouped `use` were improperly highlighted (eg `use Foo, Bar;`, anything after the first name to the final `;` or `{` was tokenized as Error) * a namespaced name triggered Error on `\\` in grouped `use` statement (eg `use some\name\{const Foo\BAR};`) And add support to comments in this `use` statement. Also fixes: * #1353 * #1361
- Loading branch information
Showing
3 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters