aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syntax.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/syntax.md b/syntax.md
index 0ca25b3..9320b1c 100644
--- a/syntax.md
+++ b/syntax.md
@@ -52,7 +52,6 @@ A *keyword* is one of the following literal words:
- `sizeof`
- `struct`
- `switch`
-- `typedef`
- `unsigned`
- `void`
- `while`
@@ -194,13 +193,11 @@ ImplementationFileElement ← HeaderFileElement /
IncludeStatement ← 'include' string-literal ';'
TypeDeclaration ← StructDeclaration /
- EnumDeclaration /
- TypedefDeclaration
+ EnumDeclaration
StructDeclaration ← 'struct' identifier '{' VariableDeclaration+ '}' ';'
EnumDeclaration ← 'enum' identifier '{' EnumBody '}' ';'
EnumBody ← identifier ('=' Expression)? ',' EnumBody /
identifier ('=' Expression)? ','?
-TypedefDeclaration ← 'typedef' identifier '=' Type ';'
FunctionDeclaration ← FunctionSignature ';'
FunctionDefinition ← FunctionSignature Block