summaryrefslogtreecommitdiff
path: root/src/shared-constants.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-26 10:33:40 -0800
committerGitHub <noreply@github.com>2024-01-26 10:33:40 -0800
commit5d297dca547fdca2d525f251a27d0a94fc2c2674 (patch)
treede2eaa163260754ec94265d50a45dcb5e9661d32 /src/shared-constants.h
parentd23a63fce8635aa6e401d016a5d0bf23f6f030e8 (diff)
downloadbinaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.gz
binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.bz2
binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.zip
Update the text syntax for tuple types (#6246)
Instead of e.g. `(i32 i32)`, use `(tuple i32 i32)`. Having a keyword to introduce the s-expression is more consistent with the rest of the language.
Diffstat (limited to 'src/shared-constants.h')
-rw-r--r--src/shared-constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared-constants.h b/src/shared-constants.h
index 321ec3884..528d09df5 100644
--- a/src/shared-constants.h
+++ b/src/shared-constants.h
@@ -62,6 +62,7 @@ extern Name PRINT;
extern Name EXIT;
extern Name SHARED;
extern Name TAG;
+extern Name TUPLE;
} // namespace wasm