diff options
author | albert-github <albert.tests@gmail.com> | 2015-07-26 09:56:23 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-07-26 09:56:23 (GMT) |
commit | 288afe7d4fe0953f5717b0ac85f805f78d96afa4 (patch) | |
tree | 48f3be38d5dabf8ead152f709238bde2031d2cb7 /src/pyscanner.l | |
parent | f88c49aa678f7d5e5facd7734358548d0d32722f (diff) | |
download | Doxygen-288afe7d4fe0953f5717b0ac85f805f78d96afa4.zip Doxygen-288afe7d4fe0953f5717b0ac85f805f78d96afa4.tar.gz Doxygen-288afe7d4fe0953f5717b0ac85f805f78d96afa4.tar.bz2 |
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.
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index 8332a36..f663837 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1278,6 +1278,12 @@ STARTDOCSYMS "##" initTriSingleQuoteBlock(); BEGIN(TripleComment); } + "'" { + g_stringContext=YY_START; + current->initializer+="'"; + g_copyString=¤t->initializer; + BEGIN( SingleQuoteString ); + } "\"" { g_stringContext=YY_START; current->initializer+="\""; |