Loading src/commentcnv.l +6 −3 Original line number Diff line number Diff line Loading @@ -241,7 +241,10 @@ void replaceComment(int offset); %% <Scan>[^"'!\/\n\\#\\-]* { /* eat anything that is not " / or \n */ <Scan>[^"'!\/\n\\#\\-\\,]* { /* eat anything that is not " / , or \n */ copyToOutput(yytext,(int)yyleng); } <Scan>[\\,] { /* eat , so we have a nice separator in long initialization lines */ copyToOutput(yytext,(int)yyleng); } <Scan>"\"\"\""! { /* start of python long comment */ Loading src/scanner.l +4 −1 Original line number Diff line number Diff line Loading @@ -3252,7 +3252,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) *pCopyCurlyGString+=yytext; } } <GCopyCurly>[^"'{}\/\n]+ { <GCopyCurly>[^"'{}\/\n,]+ { *pCopyCurlyGString+=yytext; } <GCopyCurly>[,]+ { *pCopyCurlyGString+=yytext; } <GCopyCurly>"/" { *pCopyCurlyGString+=yytext; } Loading Loading
src/commentcnv.l +6 −3 Original line number Diff line number Diff line Loading @@ -241,7 +241,10 @@ void replaceComment(int offset); %% <Scan>[^"'!\/\n\\#\\-]* { /* eat anything that is not " / or \n */ <Scan>[^"'!\/\n\\#\\-\\,]* { /* eat anything that is not " / , or \n */ copyToOutput(yytext,(int)yyleng); } <Scan>[\\,] { /* eat , so we have a nice separator in long initialization lines */ copyToOutput(yytext,(int)yyleng); } <Scan>"\"\"\""! { /* start of python long comment */ Loading
src/scanner.l +4 −1 Original line number Diff line number Diff line Loading @@ -3252,7 +3252,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) *pCopyCurlyGString+=yytext; } } <GCopyCurly>[^"'{}\/\n]+ { <GCopyCurly>[^"'{}\/\n,]+ { *pCopyCurlyGString+=yytext; } <GCopyCurly>[,]+ { *pCopyCurlyGString+=yytext; } <GCopyCurly>"/" { *pCopyCurlyGString+=yytext; } Loading