Permalink
Browse files

Bug 752657 - XML not documenting a class in python

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 288afe7d4fe0953f5717b0ac85f805f78d96afa4
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/pyscanner.l
@@ -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+="\"";

0 comments on commit 288afe7

Please sign in to comment.