summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pycode.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pycode.l b/src/pycode.l
index a31a0ed..a0de80b 100644
--- a/src/pycode.l
+++ b/src/pycode.l
@@ -1422,7 +1422,7 @@ TARGET ({IDENTIFIER}|"("{TARGET_LIST}")"|"["{TARGET_LIST}"]"|{ATTRIBUT
unput(*yytext);
yy_pop_state();
}
-<*>{POUNDCOMMENT} {
+<*>{POUNDCOMMENT}.* {
if (YY_START==SingleQuoteString ||
YY_START==DoubleQuoteString ||
YY_START==TripleString