3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-07 07:45:46 +00:00

automatically release wasm build (#5997)

This commit is contained in:
Kevin Gibbons 2022-04-24 10:06:36 -07:00 committed by GitHub
parent 24baf56e27
commit dc18b47967
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -422,9 +422,9 @@ export async function init(initModule: any) {
return ctx;
},
${functions
.map(wrapFunction)
.filter(f => f != null)
.join(',\n')}
.map(wrapFunction)
.filter(f => f != null)
.join(',\n')}
}
};

View file

@ -121,7 +121,6 @@ for (let file of files) {
throw new Error(`extra text in parameter list ${JSON.stringify(text)}`);
}
if (name in defApis) {
throw new Error(`multiple defApi calls for ${name}`);
}
@ -132,11 +131,11 @@ for (let file of files) {
types[match.groups.type] = match.groups.type;
}
// we don't have to pre-populate the types map with closure types
// use the Z3_DECLARE_CLOSURE to identify closure types
// for (let match of contents.matchAll(/Z3_DECLARE_CLOSURE\((?<type>[A-Za-z0-9_]+),/g)) {
// types[match.groups.type] = match.groups.type
// }
// we don't have to pre-populate the types map with closure types
// use the Z3_DECLARE_CLOSURE to identify closure types
// for (let match of contents.matchAll(/Z3_DECLARE_CLOSURE\((?<type>[A-Za-z0-9_]+),/g)) {
// types[match.groups.type] = match.groups.type
// }
// parse enum declarations
for (let idx = 0; idx < contents.length; ) {