mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Specify encoding of source files in mk_util.py
This commit is contained in:
		
							parent
							
								
									2abc759d0e
								
							
						
					
					
						commit
						c279fd9f2e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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, 'r')
 | 
			
		||||
    f = open(fname, encoding='utf-8', mode='r')
 | 
			
		||||
    linenum = 1
 | 
			
		||||
    for line in f:
 | 
			
		||||
        m1 = std_inc_pat.match(line)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue