diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-04-13 03:07:58 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-04-13 03:07:58 -0400 |
| commit | bf57d8a7e3beb8d69dec38e131a3717f008f6c5e (patch) | |
| tree | 1559356eda32fa631d1bac1de5efb5dcf7be0d48 /doc | |
| parent | bf67427c67dac00ca10ed7423ae8d99e2901262f (diff) | |
| download | zig-bf57d8a7e3beb8d69dec38e131a3717f008f6c5e.tar.gz zig-bf57d8a7e3beb8d69dec38e131a3717f008f6c5e.zip | |
typedefpocalypse
closes #314
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/langref.md b/doc/langref.md index f579f8d50c..122c62a23d 100644 --- a/doc/langref.md +++ b/doc/langref.md @@ -9,9 +9,7 @@ TopLevelItem = ErrorValueDecl | CompTimeExpression(Block) | TopLevelDecl | TestD TestDecl = "test" String Block -TopLevelDecl = option(VisibleMod) (FnDef | ExternDecl | GlobalVarDecl | TypeDecl | UseDecl) - -TypeDecl = "type" Symbol "=" TypeExpr ";" +TopLevelDecl = option(VisibleMod) (FnDef | ExternDecl | GlobalVarDecl | UseDecl) ErrorValueDecl = "error" Symbol ";" @@ -155,7 +153,7 @@ GotoExpression = "goto" Symbol GroupedExpression = "(" Expression ")" -KeywordLiteral = "true" | "false" | "null" | "break" | "continue" | "undefined" | "error" | "type" | "this" | "unreachable" +KeywordLiteral = "true" | "false" | "null" | "break" | "continue" | "undefined" | "error" | "this" | "unreachable" ContainerDecl = option("extern" | "packed") ("struct" | "enum" | "union") "{" many(ContainerMember) "}" ``` |
