aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-13 18:16:17 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-13 18:16:17 -0600
commitd11bf26dc522456bd4eae2d94d4d61aa9c270e00 (patch)
tree205fcad24c5c172678a14217f226dc3720f37e34
parent6432e233070a3aa0f75980f73177f8ef33e98aa6 (diff)
downloadspec-d11bf26dc522456bd4eae2d94d4d61aa9c270e00.tar.gz
spec-d11bf26dc522456bd4eae2d94d4d61aa9c270e00.zip
fix left-recursion in Type
-rw-r--r--syntax.md2
1 files changed, 1 insertions, 1 deletions
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 /