mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
make module parameter validation and adjustment more flexible: you can use both module qualifiers and unqualified parameters from the API at local scope
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8cf21dc242
commit
f0c63e56f3
3 changed files with 57 additions and 18 deletions
|
@ -1801,7 +1801,7 @@ def def_module_params(module_name, export, params, class_name=None, description=
|
|||
out.write(' {}\n')
|
||||
out.write(' static void collect_param_descrs(param_descrs & d) {\n')
|
||||
for param in params:
|
||||
out.write(' d.insert("%s", %s, "%s", "%s");\n' % (param[0], TYPE2CPK[param[1]], param[3], pyg_default(param)))
|
||||
out.write(' d.insert("%s", %s, "%s", "%s","%s");\n' % (param[0], TYPE2CPK[param[1]], param[3], pyg_default(param), module_name))
|
||||
out.write(' }\n')
|
||||
if export:
|
||||
out.write(' /*\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue