From d11bf26dc522456bd4eae2d94d4d61aa9c270e00 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 13 Oct 2020 18:16:17 -0600 Subject: fix left-recursion in Type --- syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax.md b/syntax.md index 550fbcc..4342bb0 100644 --- a/syntax.md +++ b/syntax.md @@ -209,7 +209,7 @@ Type ← BasicType / 'const' BasicType / BasicType '*' / BasicType '[' Expression ']' / - Type 'function' '(' (BasicType ',')* ')' + BasicType 'function' '(' (BasicType ',')* ')' BasicType ← 'void' / IntegerType / 'signed' IntegerType / -- cgit v1.2.3