From f96507054f1af54bee57734ec3d9a25b821feb27 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 6 Aug 2019 18:40:33 +0200 Subject: Regression: python file with comment caused "Reached end of file while still inside a comment" warning. --- src/commentcnv.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commentcnv.l b/src/commentcnv.l index 031b6f5..a5dd0af 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -650,6 +650,7 @@ void replaceComment(int offset); } else { + g_nestingCount--; g_pythonDocString = FALSE; copyToOutput(yytext,(int)yyleng); BEGIN(Scan); -- cgit v0.12