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

Removed redundant backslashes in regexp pattern

parent 23f7c36f
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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);
                                    }
<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);
                                    }
<Scan>"\"\"\""!                     { /* start of python long comment */