Merge pull request #3456 from jepler/qstr-and-or-demagic

makeqstrdefs: don't make _and_, _or_ poisoned substrings for QSTRs
This commit is contained in:
Scott Shawcroft 2020-09-23 12:24:02 -07:00 committed by GitHub
commit a8558a48ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,10 @@ name2codepoint['caret'] = ord('^')
name2codepoint['pipe'] = ord('|')
name2codepoint['tilde'] = ord('~')
# These are just vexing!
del name2codepoint['and']
del name2codepoint['or']
def write_out(fname, output):
if output:
for m, r in [("/", "__"), ("\\", "__"), (":", "@"), ("..", "@@")]: