aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorKirawi2021-11-29 01:38:17 +0000
committerGitHub2021-11-29 01:38:17 +0000
commit6f1a7b1220c2ae565a2542fb089eb6d87f0a9421 (patch)
treec0ee12e9208129b15ec7dc35d52f8cf00f5c0abb /book
parentdc53e65b9e9be71c49eaa86e0f4dabb69f586e2e (diff)
Add llvm grammar (#1167)
Diffstat (limited to 'book')
-rw-r--r--book/src/themes.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index ecbbb6e9..fd3f5b1e 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -145,11 +145,12 @@ We use a similar set of scopes as
- `conditional` - `if`, `else`
- `repeat` - `for`, `while`, `loop`
- `import` - `import`, `export`
- - (TODO: return?)
+ - `return`
+ - `operator` - `or`, `in`
- `directive` - Preprocessor directives (`#if` in C)
- `function` - `fn`, `func`
-- `operator` - `||`, `+=`, `>`, `or`
+- `operator` - `||`, `+=`, `>`
- `function`
- `builtin`