diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-05-07 17:00:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-05-07 17:00:58 -0700 |
| commit | 2ed72022ce56b06bb3e90ca9259065452e209eb9 (patch) | |
| tree | e583301a3d037577ee8aff73f5ad91177d72c98f /doc/langref.md | |
| parent | 01c46eef3a7e4fd5a96f364541c539746ae1ea3b (diff) | |
| download | zig-2ed72022ce56b06bb3e90ca9259065452e209eb9.tar.gz zig-2ed72022ce56b06bb3e90ca9259065452e209eb9.zip | |
support generic data structures
See #22
Diffstat (limited to 'doc/langref.md')
| -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 d17317b4f9..ddadcb6c5e 100644 --- a/doc/langref.md +++ b/doc/langref.md @@ -15,7 +15,7 @@ GlobalVarDecl = VariableDeclaration ";" VariableDeclaration = ("var" | "const") "Symbol" option(":" TypeExpr) "=" Expression -ContainerDecl = ("struct" | "enum" | "union") "Symbol" "{" many(StructMember) "}" +ContainerDecl = ("struct" | "enum" | "union") "Symbol" option(ParamDeclList) "{" many(StructMember) "}" StructMember = many(Directive) option(VisibleMod) (StructField | FnDef) |
