summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyscanner.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 02d5b67..99650bd 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -1384,13 +1384,16 @@ STARTDOCSYMS "##"
docBlock += yytext;
}
}
- [^"'\n \t]+ {
+ [^"'\n \t\\]+ {
docBlock += yytext;
}
\n {
incLineNr();
docBlock += yytext;
}
+ \\. { // espaced char
+ docBlock += yytext;
+ }
. {
docBlock += yytext;
}