From 7d020a92888b43520dd709b6a90ca2508ae9eaac Mon Sep 17 00:00:00 2001 From: zongor Date: Mon, 27 May 2024 19:16:16 -0400 Subject: [PATCH] blow up if try to parse an array, its not implemented yet --- tools/js-class-c-struct-transpiler/transpile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/js-class-c-struct-transpiler/transpile.js b/tools/js-class-c-struct-transpiler/transpile.js index 8aafe92..38f57d2 100644 --- a/tools/js-class-c-struct-transpiler/transpile.js +++ b/tools/js-class-c-struct-transpiler/transpile.js @@ -154,6 +154,7 @@ for (const type of Object.keys(schema)) { cData += `\n\t\t${types[propType].c} ${prop};`; break; case "array": + throw new Error("Not Implemented!"); break; default: break;