From c3d3f51f02c923ad23e8025d31fdcd1ef0f79637 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 2 Oct 2012 14:43:20 -0700 Subject: [PATCH] missing file --- Microsoft.Z3/mk_z3consts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Microsoft.Z3/mk_z3consts.py b/Microsoft.Z3/mk_z3consts.py index 1428313f7..af0b51492 100644 --- a/Microsoft.Z3/mk_z3consts.py +++ b/Microsoft.Z3/mk_z3consts.py @@ -7,6 +7,7 @@ # Christoph M. Wintersteiger (cwinter) ############################################ import re +import os blank_pat = re.compile("^ *$") comment_pat = re.compile("^ *//.*$") @@ -15,7 +16,7 @@ typedef2_pat = re.compile("typedef enum { *") openbrace_pat = re.compile("{ *") closebrace_pat = re.compile("}.*;") -api = open('..\\lib\\z3_api.h', 'r') +api = open('..%slib%sz3_api.h' % (os.sep, os.sep), 'r') DeprecatedEnums = { 'Z3_search_failure' }