diff options
-rw-r--r-- | syntax.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -187,8 +187,8 @@ TypeDeclaration ← StructDeclaration / TypedefDeclaration StructDeclaration ← 'struct' identifier '{' VariableDeclaration+ '}' ';' EnumDeclaration ← 'enum' identifier '{' EnumBody '}' ';' -EnumBody ← identifier ',' EnumBody / - identifier ','? +EnumBody ← identifier ('=' Expression)? ',' EnumBody / + identifier ('=' Expression)? ','? TypedefDeclaration ← 'typedef' identifier '=' Type ';' FunctionDeclaration ← FunctionSignature ';' |