diff options
Diffstat (limited to 'syntax.md')
-rw-r--r-- | syntax.md | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |