diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
commit | 5444ff60bbf81c46841827e66e72f3148edde9ff (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/perlmodgen.cpp | |
parent | 17c14fb5230cfc532577c32df1d10223534392d8 (diff) | |
download | Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.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('\''); |