py/makeqstrdata: Add special case to handle \n qstr.
This commit is contained in:
@@ -93,6 +93,12 @@ def parse_input_headers(infiles):
|
||||
|
||||
# get the qstr value
|
||||
qstr = match.group(1)
|
||||
|
||||
# special case to specify control characters
|
||||
if qstr == '\\n':
|
||||
qstr = '\n'
|
||||
|
||||
# work out the corresponding qstr name
|
||||
ident = qstr_escape(qstr)
|
||||
|
||||
# don't add duplicates
|
||||
|
||||
Reference in New Issue
Block a user