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 5d2ecb7 commit 877f10dCopy full SHA for 877f10d
src/pre.l
@@ -1871,6 +1871,13 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER}
1871
<RemoveCPPComment>{CPPC}
1872
<RemoveCPPComment>[^\x06\n]+
1873
<RemoveCPPComment>.
1874
+<DefineText>"__VA_OPT__("{B}*"##" {
1875
+ warn(yyextra->fileName,yyextra->yyLineNr,
1876
+ "'##' may not appear at the beginning of a __VA_OPT__()",
1877
+ yyextra->defName,yyextra->defLitText.stripWhiteSpace());
1878
+ yyextra->defText+="__VA_OPT__(";
1879
+ yyextra->defLitText+="__VA_OPT__(";
1880
+ }
1881
<DefineText>"#"/"__VA_OPT__" {
1882
yyextra->defText+=yytext;
1883
yyextra->defLitText+=yytext;
0 commit comments