We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbdab7f + d6f3bfc commit 3b5e608Copy full SHA for 3b5e608
src/ansi-c/scanner.l
@@ -1012,11 +1012,12 @@ enable_or_disable ("enable"|"disable")
1012
TOK_CHAR16_T);
1013
}
1014
1015
-"__nullptr" { // GNU extension
+"__nullptr" { // GNU, clang, VS extension
1016
return conditional_keyword(
1017
PARSER.cpp98 &&
1018
(PARSER.mode==configt::ansi_ct::flavourt::GCC ||
1019
- PARSER.mode==configt::ansi_ct::flavourt::CLANG),
+ PARSER.mode==configt::ansi_ct::flavourt::CLANG ||
1020
+ PARSER.mode==configt::ansi_ct::flavourt::VISUAL_STUDIO),
1021
TOK_NULLPTR);
1022
1023
0 commit comments