From 75a95d4896979749230052df07b373f0f389b656 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 19 Sep 2023 10:39:28 -0400 Subject: Add WAT keyword 'if'. --- syntax-highlight/wat.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax-highlight') diff --git a/syntax-highlight/wat.scm b/syntax-highlight/wat.scm index 80d1652..996c076 100644 --- a/syntax-highlight/wat.scm +++ b/syntax-highlight/wat.scm @@ -42,7 +42,7 @@ (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" "memory" + "export" "param" "result" "block" "loop" "if" "local" "rec" "memory" "data" "table" "elem" "global" "start")) ;; TODO: WAT has some weird commenting syntax that this doesn't -- cgit v1.2.3