From d13908f65b6e745bab14dc610c9f9bc7908c55c5 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 16 Nov 2014 13:49:13 +0100 Subject: Bug 739054 - Python xml not outputting info of functions inside __init__.py --- src/pyscanner.l | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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+="\""; -- cgit v0.12