diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-02 07:58:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-02 07:58:42 +0200 |
commit | dbdb247ae08dea6096477b57afb86a5028c01d14 (patch) | |
tree | 8cc05bcb7329dceb88cd76528d7dbe9a0254e8bc | |
parent | update version (diff) | |
download | gpp-1.4.tar.gz gpp-1.4.tar.bz2 gpp-1.4.tar.xz |
fix another bug1.4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-x | src/gpp.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -185,6 +185,12 @@ def pp(line): rc.append(ord('\'')) rc.append(ord('"')) rc.append(ord('$')) + else: + rc += symbol + if c == ord('\''): + rc.append(c) + rc.append(ord('\\')) + rc.append(c) rc.append(c) elif line[i - 1 : i + symlen - 1] == symbol: symb = True |