aboutsummaryrefslogtreecommitdiff
path: root/syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'syntax.md')
-rw-r--r--syntax.md6
1 files changed, 3 insertions, 3 deletions
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 /