-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[c++] grammar in endless loop. Fixes #23850
- Loading branch information
Showing
4 changed files
with
138 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#ifndef _UCRT | ||
#define _UCRT | ||
#endif |
123 changes: 123 additions & 0 deletions
123
extensions/cpp/test/colorize-results/test-23630_cpp.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
[ | ||
{ | ||
"c": "#", | ||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c punctuation.definition.directive.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
}, | ||
{ | ||
"c": "ifndef", | ||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.cpp meta.preprocessor.c", | ||
"r": { | ||
"dark_plus": "meta.preprocessor: #569CD6", | ||
"light_plus": "meta.preprocessor: #0000FF", | ||
"dark_vs": "meta.preprocessor: #569CD6", | ||
"light_vs": "meta.preprocessor: #0000FF", | ||
"hc_black": "meta.preprocessor: #569CD6" | ||
} | ||
}, | ||
{ | ||
"c": "_UCRT", | ||
"t": "source.cpp meta.preprocessor.c entity.name.function.preprocessor.c", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"dark_vs": "meta.preprocessor: #569CD6", | ||
"light_vs": "meta.preprocessor: #0000FF", | ||
"hc_black": "entity.name.function: #DCDCAA" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.cpp meta.preprocessor.macro.c", | ||
"r": { | ||
"dark_plus": "meta.preprocessor: #569CD6", | ||
"light_plus": "meta.preprocessor: #0000FF", | ||
"dark_vs": "meta.preprocessor: #569CD6", | ||
"light_vs": "meta.preprocessor: #0000FF", | ||
"hc_black": "meta.preprocessor: #569CD6" | ||
} | ||
}, | ||
{ | ||
"c": "#", | ||
"t": "source.cpp meta.preprocessor.macro.c keyword.control.directive.define.c punctuation.definition.directive.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
}, | ||
{ | ||
"c": "define", | ||
"t": "source.cpp meta.preprocessor.macro.c keyword.control.directive.define.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
}, | ||
{ | ||
"c": " ", | ||
"t": "source.cpp meta.preprocessor.macro.c", | ||
"r": { | ||
"dark_plus": "meta.preprocessor: #569CD6", | ||
"light_plus": "meta.preprocessor: #0000FF", | ||
"dark_vs": "meta.preprocessor: #569CD6", | ||
"light_vs": "meta.preprocessor: #0000FF", | ||
"hc_black": "meta.preprocessor: #569CD6" | ||
} | ||
}, | ||
{ | ||
"c": "_UCRT", | ||
"t": "source.cpp meta.preprocessor.macro.c entity.name.function.preprocessor.c", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"dark_vs": "meta.preprocessor: #569CD6", | ||
"light_vs": "meta.preprocessor: #0000FF", | ||
"hc_black": "entity.name.function: #DCDCAA" | ||
} | ||
}, | ||
{ | ||
"c": "#", | ||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c punctuation.definition.directive.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
}, | ||
{ | ||
"c": "endif", | ||
"t": "source.cpp meta.preprocessor.c keyword.control.directive.conditional.c", | ||
"r": { | ||
"dark_plus": "keyword.control: #C586C0", | ||
"light_plus": "keyword.control: #AF00DB", | ||
"dark_vs": "keyword.control: #569CD6", | ||
"light_vs": "keyword.control: #0000FF", | ||
"hc_black": "keyword.control: #C586C0" | ||
} | ||
} | ||
] |
0.0.0
?