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

avoid exception in Ratul's environment

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-11-16 23:06:04 -08:00
parent 3b7dfda0df
commit 6e1c246454

View file

@ -2653,6 +2653,8 @@ def mk_z3consts_py(api_files):
z3consts.write('%s = %s\n' % (k, i))
z3consts.write('\n')
mode = SEARCHING
elif len(words) <= 2:
pass
else:
if words[2] != '':
if len(words[2]) > 1 and words[2][1] == 'x':