Commit c1997b97 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Removed redundant backslashes in regexp pattern

parent 23f7c36f
......@@ -241,12 +241,12 @@ void replaceComment(int offset);
%%
<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>[^"'!\/\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 */
if (g_lang!=SrcLangExt_Python)
{
......@@ -256,7 +256,7 @@ void replaceComment(int offset);
{
g_pythonDocString = TRUE;
g_nestingCount=0;
copyToOutput(yytext,(int)yyleng);
copyToOutput(yytext,(int)yyleng);
BEGIN(CComment);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment