diff options
author | albert-github <albert.tests@gmail.com> | 2015-07-29 11:40:31 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-07-29 11:40:31 (GMT) |
commit | 59fdba0dd1e3765a2f53b222fdc9455114f720b1 (patch) | |
tree | 51883a1495d669895318b4935bd9c19a0ee6426c /src | |
parent | 31c5aecbec5200bbfe797cfe8e7c0b565717a96f (diff) | |
download | Doxygen-59fdba0dd1e3765a2f53b222fdc9455114f720b1.zip Doxygen-59fdba0dd1e3765a2f53b222fdc9455114f720b1.tar.gz Doxygen-59fdba0dd1e3765a2f53b222fdc9455114f720b1.tar.bz2 |
Bug 648865 - PYTHON: stops processing the file after encountering \""""
Proper handling of escaped character inside a triple quoted string (""" and ''')
Diffstat (limited to 'src')
-rw-r--r-- | src/pyscanner.l | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index 02d5b67..99650bd 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1384,13 +1384,16 @@ STARTDOCSYMS "##" docBlock += yytext; } } - [^"'\n \t]+ { + [^"'\n \t\\]+ { docBlock += yytext; } \n { incLineNr(); docBlock += yytext; } + \\. { // espaced char + docBlock += yytext; + } . { docBlock += yytext; } |