From 3d09fbe28463f310164a9dffaa30f0d31fde2d53 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 14 Oct 2020 06:35:58 -0600 Subject: fix prioritization on Type --- syntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'syntax.md') diff --git a/syntax.md b/syntax.md index 4342bb0..269a16d 100644 --- a/syntax.md +++ b/syntax.md @@ -205,11 +205,11 @@ VariableDeclaration ← Type identifier ';' ## Types ``` -Type ← BasicType / - 'const' BasicType / +Type ← 'const' BasicType / BasicType '*' / BasicType '[' Expression ']' / - BasicType 'function' '(' (BasicType ',')* ')' + BasicType 'function' '(' (BasicType ',')* ')' / + BasicType BasicType ← 'void' / IntegerType / 'signed' IntegerType / -- cgit v1.2.3