diff options
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index c67875e..1ac7b7a 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -938,6 +938,7 @@ STARTDOCSYMS "##" } ")" { // end of parameter list + current->args = argListToString(current->argList); } ":"{B} { @@ -1268,6 +1269,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+="\""; |