summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 525cc29f7..0ab2ed0dc 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -1556,6 +1556,7 @@ private:
im->kind = Import::Memory;
} else if ((*s[3])[0]->str() == TABLE) {
im->kind = Import::Table;
+ seenTable = true;
} else if ((*s[3])[0]->str() == GLOBAL) {
im->kind = Import::Global;
} else {