summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2020-08-06 10:34:42 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2020-08-06 10:34:42 +0200
commit5e5e301e866e1eeb4523b9ecae6a2a327c019a08 (patch)
tree55881da8b51523e57d09cc40f33a18facbeb2562 /doc
parentf059f8b1cf415a7fba36f6b96206bb3d6776e41d (diff)
downloadroux-5e5e301e866e1eeb4523b9ecae6a2a327c019a08.tar.gz
fix a typo in call's BNF
Thanks to Jakob for pointing this out.
Diffstat (limited to 'doc')
-rw-r--r--doc/il.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/il.txt b/doc/il.txt
index a496759..d1ed755 100644
--- a/doc/il.txt
+++ b/doc/il.txt
@@ -749,9 +749,9 @@ single-precision floating point number `%f` into `%rs`.
     CALL := [%IDENT '=' ABITY] 'call' VAL '(' (ARG), ')'
 
     ARG :=
-        ABITY %IDENT  # Regular argument
-      | 'env' VAL     # Environment argument (first)
-      | '...'         # Variadic marker (last)
+        ABITY VAL  # Regular argument
+      | 'env' VAL  # Environment argument (first)
+      | '...'      # Variadic marker (last)
 
     ABITY := BASETY | :IDENT