We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9492f commit 2429277Copy full SHA for 2429277
grammar.js
@@ -116,6 +116,7 @@ module.exports = grammar({
116
$.preproc_pragma,
117
$.preproc_nullable,
118
$.preproc_error,
119
+ $.preproc_warning,
120
$.preproc_define,
121
$.preproc_undef,
122
],
@@ -1963,6 +1964,12 @@ module.exports = grammar({
1963
1964
/\n/,
1965
),
1966
1967
+ preproc_warning: $ => seq(
1968
+ preprocessor('warning'),
1969
+ $.preproc_arg,
1970
+ /\n/,
1971
+ ),
1972
+
1973
preproc_define: $ => seq(
1974
preprocessor('define'),
1975
$.preproc_arg,
0 commit comments