diff options
Diffstat (limited to '')
-rw-r--r-- | extra-tools/tablegen-test/post.txt | 1 | ||||
-rw-r--r-- | extra-tools/tablegen-test/pre.txt | 2 | ||||
-rwxr-xr-x | extra-tools/tablegen-test/run.sh | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/extra-tools/tablegen-test/post.txt b/extra-tools/tablegen-test/post.txt new file mode 100644 index 0000000..e27cdda --- /dev/null +++ b/extra-tools/tablegen-test/post.txt @@ -0,0 +1 @@ +// bye bye diff --git a/extra-tools/tablegen-test/pre.txt b/extra-tools/tablegen-test/pre.txt new file mode 100644 index 0000000..0819fdc --- /dev/null +++ b/extra-tools/tablegen-test/pre.txt @@ -0,0 +1,2 @@ +enum jmp_type {NONE=0, JMP=1, JNE=2, JE=3}; +#define JMP_T enum jmp_type diff --git a/extra-tools/tablegen-test/run.sh b/extra-tools/tablegen-test/run.sh new file mode 100755 index 0000000..f9eda4d --- /dev/null +++ b/extra-tools/tablegen-test/run.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash +cd $(dirname $0) +../luatablegen.py --tbg ../wasmtablegen.json --out ./ --luaheader ../../bruiser/lua-5.3.4/src --pre ./pre.txt --post ./post.txt +less ./jmp_s_t_tablegen.h |