This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/objective-c
amitkummer bd6d6826bd
CFamily: improve label detection (#2022)
* Remove unused variable

This variable is unused since the first commit to this file
in the commit history, so it's probably safe to remove it.

* Lex identifier as label only if it's at line start

* Stop matching identifiers that begin with a digit

This is so we don't match numbers as labels with the new labels rule.

* Add label tests

* Fix existing tests
2022-01-06 12:05:25 +01:00
..
objc_example.m Also add auto-updatable output-based tests to examplefiles (#1689) 2021-01-20 10:48:45 +01:00
objc_example.m.output CFamily: improve label detection (#2022) 2022-01-06 12:05:25 +01:00