aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.md
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-03-26 04:30:46 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-03-26 04:32:13 -0400
commit22e6bfca9602fdb79f669b494fa7f1c58094706c (patch)
tree560c8a37e895e914afaa1386a1b3a48d839d5e95 /doc/langref.md
parent9ae426a06b2e380e688fa0b4d4ad1587bebefa64 (diff)
downloadzig-22e6bfca9602fdb79f669b494fa7f1c58094706c.tar.gz
zig-22e6bfca9602fdb79f669b494fa7f1c58094706c.zip
add comptime top level declaration
closes #255
Diffstat (limited to 'doc/langref.md')
-rw-r--r--doc/langref.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.md b/doc/langref.md
index cf759ae3f5..68c74bcbf3 100644
--- a/doc/langref.md
+++ b/doc/langref.md
@@ -5,7 +5,7 @@
```
Root = many(TopLevelItem) "EOF"
-TopLevelItem = ErrorValueDecl | Block | TopLevelDecl | TestDecl
+TopLevelItem = ErrorValueDecl | CompTimeExpression | TopLevelDecl | TestDecl
TestDecl = "test" String Block