summaryrefslogtreecommitdiffstatshomepage
path: root/py/makeqstrdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/makeqstrdata.py')
-rw-r--r--py/makeqstrdata.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index 060ebb7fd7..163b7fce75 100644
--- a/py/makeqstrdata.py
+++ b/py/makeqstrdata.py
@@ -279,9 +279,11 @@ def parse_input_headers(infiles):
# get the qstr value
qstr = match.group(1)
- # special case to specify control characters
+ # special cases to specify control characters
if qstr == '\\n':
qstr = '\n'
+ elif qstr == '\\r\\n':
+ qstr = '\r\n'
# work out the corresponding qstr name
ident = qstr_escape(qstr)