3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

Merge pull request #1611 from Z3Prover/revert-1610-cv/encoding

Revert "Specify encoding of source files in mk_util.py"
This commit is contained in:
Nikolaj Bjorner 2018-05-03 12:00:03 -07:00 committed by GitHub
commit 502d0e37dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -780,7 +780,7 @@ def extract_c_includes(fname):
# We should generate and error for any occurrence of #include that does not match the previous pattern.
non_std_inc_pat = re.compile(".*#include.*")
f = open(fname, encoding='utf-8', mode='r')
f = open(fname, 'r')
linenum = 1
for line in f:
m1 = std_inc_pat.match(line)