-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various issues with highlighting in C and C++ lexers (#1069)
Before this commit: 1. `void foo();` without a space before ";" would not highlight correctly; 2. `else if()` would not highlight correctly in certain contexts; 3. an error in a function definition or declaration had the potential to cause incorrect highlighting further down in the file. The commit also contains minor changes to the Objective-C lexer to fix regressions caused by dependencies on the broken behaviour of the C lexer that has been fixed. This fixes #879 and #1009.
- Loading branch information
Showing
3 changed files
with
17 additions
and
42 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