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

Removed redundant backslashes in regexp pattern

parent 23f7c36f
...@@ -241,10 +241,10 @@ void replaceComment(int offset); ...@@ -241,10 +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); copyToOutput(yytext,(int)yyleng);
} }
<Scan>[\\,] { /* eat , so we have a nice separator in long initialization lines */ <Scan>[,] { /* eat , so we have a nice separator in long initialization lines */
copyToOutput(yytext,(int)yyleng); copyToOutput(yytext,(int)yyleng);
} }
<Scan>"\"\"\""! { /* start of python long comment */ <Scan>"\"\"\""! { /* start of python long comment */
......
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