diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-09-19 10:40:22 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-09-19 10:40:22 -0400 |
commit | 0e489646348562b6a37079d580666776939a7d54 (patch) | |
tree | c62325699160a83e55a89978fc788c0862644f12 | |
parent | 75a95d4896979749230052df07b373f0f389b656 (diff) |
Add WAT keywords 'then' and 'else'.
-rw-r--r-- | syntax-highlight/wat.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax-highlight/wat.scm b/syntax-highlight/wat.scm index 996c076..97ee0b1 100644 --- a/syntax-highlight/wat.scm +++ b/syntax-highlight/wat.scm @@ -42,8 +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" "if" "local" "rec" "memory" - "data" "table" "elem" "global" "start")) + "export" "param" "result" "block" "loop" "if" "then" "else" "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. |