diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.md b/doc/langref.md index 647b31acbc..4dae123f1f 100644 --- a/doc/langref.md +++ b/doc/langref.md @@ -9,7 +9,7 @@ TopLevelDecl : FnDef | ExternBlock | RootExportDecl | Import | ContainerDecl | V ErrorValueDecl : option(FnVisibleMod) "error" "Symbol" -VariableDeclaration : option(FnVisibleMod) ("var" | "const") "Symbol" ("=" Expression | ":" PrefixOpExpression option("=" Expression)) +VariableDeclaration : option(FnVisibleMod) ("var" | "const") "Symbol" option(":" PrefixOpExpression) "=" Expression ContainerDecl : many(Directive) option(FnVisibleMod) ("struct" | "enum") "Symbol" "{" many(StructMember) "}" |
