Skip to content

Commit

Permalink
Fixed problem parsing C++/CLI 'public ref class'
Browse files Browse the repository at this point in the history
Regression was introduced by #9834
  • Loading branch information
doxygen committed Jun 24, 2023
1 parent f6ccf5c commit 060b2d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scanner.l
Expand Up @@ -657,6 +657,10 @@ NONLopt [^\n]*
<CppProt>":" {
BEGIN(FindMembers);
}
<CppProt>. {
unput(*yytext);
BEGIN(FindMembers);
}
<CppProt>{BN}+ { lineCount(yyscanner); }
<CppProt>{CPPC}.*\n { lineCount(yyscanner); }
<CppProt>{CCS} { yyextra->lastCContext = YY_START ;
Expand Down

0 comments on commit 060b2d1

Please sign in to comment.