summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyscanner.l13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index c67875e..236be0d 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -1268,6 +1268,19 @@ STARTDOCSYMS "##"
BEGIN(VariableEnd);
}
}
+ {TRIDOUBLEQUOTE} { // start of a comment block
+ g_specialBlock = FALSE;
+ current->program+=yytext;
+ initTriDoubleQuoteBlock();
+ BEGIN(TripleComment);
+ }
+
+ {TRISINGLEQUOTE} { // start of a comment block
+ g_specialBlock = FALSE;
+ current->program+=yytext;
+ initTriSingleQuoteBlock();
+ BEGIN(TripleComment);
+ }
"\"" {
g_stringContext=YY_START;
current->initializer+="\"";