From cd6f0a93c69c622bfa8ca5f888da52e734903455 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 28 Oct 2020 21:33:33 -0600 Subject: friendship ended with typedefs --- syntax.md | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3