Skip to content

Commit

Permalink
Bug 752657 - XML not documenting a class in python
Browse files Browse the repository at this point in the history
Problem looks like to be the improper handling of strings in this case a single quote was not seen as the start of a string and thus the double quote was mistreated.
  • Loading branch information
albert-github committed Jul 26, 2015
1 parent f88c49a commit 288afe7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pyscanner.l
Expand Up @@ -1278,6 +1278,12 @@ STARTDOCSYMS "##"
initTriSingleQuoteBlock();
BEGIN(TripleComment);
}
"'" {
g_stringContext=YY_START;
current->initializer+="'";
g_copyString=&current->initializer;
BEGIN( SingleQuoteString );
}
"\"" {
g_stringContext=YY_START;
current->initializer+="\"";
Expand Down

0 comments on commit 288afe7

Please sign in to comment.