summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-09-19 10:37:00 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-09-19 10:37:00 -0400
commit10a263845415d8fe148dc93d443cf3db311fdce6 (patch)
tree47797a2e4ad08751727e7faf93b808765a9ec042
parent422dc7a10dec96d606f5489721ba025bd2662155 (diff)
Add additional WAT keywords.
-rw-r--r--syntax-highlight/wat.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax-highlight/wat.scm b/syntax-highlight/wat.scm
index 4966d05..80d1652 100644
--- a/syntax-highlight/wat.scm
+++ b/syntax-highlight/wat.scm
@@ -42,7 +42,8 @@
(define %keywords
'("i31" "i32" "i64" "f32" "f64" "eq" "string" "module" "type" "func"
"array" "struct" "mut" "ref" "extern" "null" "field" "sub" "import"
- "export" "param" "result" "block" "loop" "local" "rec"))
+ "export" "param" "result" "block" "loop" "local" "rec" "memory"
+ "data" "table" "elem" "global" "start"))
;; TODO: WAT has some weird commenting syntax that this doesn't
;; support, among probably other missing things.