diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-16 12:49:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-16 12:49:13 (GMT) |
commit | d13908f65b6e745bab14dc610c9f9bc7908c55c5 (patch) | |
tree | 6f2768a3333439e1f37f0ae375eea9b870f93393 /src/pyscanner.l | |
parent | 9b7e4ffb6c5f7534e4ba11d5798b4eb74d4a2a70 (diff) | |
download | Doxygen-d13908f65b6e745bab14dc610c9f9bc7908c55c5.zip Doxygen-d13908f65b6e745bab14dc610c9f9bc7908c55c5.tar.gz Doxygen-d13908f65b6e745bab14dc610c9f9bc7908c55c5.tar.bz2 |
Bug 739054 - Python xml not outputting info of functions inside __init__.py
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 13 |
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+="\""; |