Fix bisonpre for MSYS2 (#3471)
This commit is contained in:
parent
f2fba51fe2
commit
11032b1936
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue