Fix bisonpre for MSYS2 (#3471)

This commit is contained in:
Unai Martinez-Corral 2022-06-20 16:59:27 +01:00 committed by GitHub
parent f2fba51fe2
commit 11032b1936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def clean_output(filename, outname, is_output, is_c):
lines = out
out = []
with open(outname, "w") as fh:
with open(outname, "w", encoding="utf-8") as fh:
for line in lines:
# Fix filename refs
line = re.sub(basename, newbase, line)