diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-08 20:06:16 (GMT) |
commit | aca0b88941aefecfbef3186e63049cc7fba0a11c (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/perlmodgen.cpp | |
parent | 509496da5e5b38aecbd91a5e20b3d695cbbef775 (diff) | |
download | Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.zip Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.gz Doxygen-aca0b88941aefecfbef3186e63049cc7fba0a11c.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 2083622..8f38d2d 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -226,7 +226,7 @@ void PerlModOutput::iaddQuoted(const char *s) { char c; while ((c = *s++) != 0) { - if (c == '\'') + if ((c == '\'') || (c == '\\')) m_stream->add('\\'); m_stream->add(c); } @@ -243,7 +243,7 @@ void PerlModOutput::iaddFieldQuotedChar(const char *field, char content) { iaddField(field); m_stream->add('\''); - if (content == '\'') + if ((content == '\'') || (content == '\\')) m_stream->add('\\'); m_stream->add(content); m_stream->add('\''); |