summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-11-11 20:14:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-11-11 20:14:22 (GMT)
commitc1997b973a25466eb5c51abe194f1000397c3a07 (patch)
tree069b8a0eaa524730ee2189fb1c1e9ddc2f6547c4 /src/commentcnv.l
parent23f7c36f38ca76f4233c92f661514dd4bba39158 (diff)
downloadDoxygen-c1997b973a25466eb5c51abe194f1000397c3a07.zip
Doxygen-c1997b973a25466eb5c51abe194f1000397c3a07.tar.gz
Doxygen-c1997b973a25466eb5c51abe194f1000397c3a07.tar.bz2
Removed redundant backslashes in regexp pattern
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 60d025e..1b48da5 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -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);
}
}