From c976d6a0386e9bf4342de3e55d396fce3e97fbd7 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 30 Jun 2022 10:29:19 -0400 Subject: Grammar spec goof --- docs/spec/grammar.html | 2 +- spec/grammar.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spec/grammar.html b/docs/spec/grammar.html index def88721..92b4dd64 100644 --- a/docs/spec/grammar.html +++ b/docs/spec/grammar.html @@ -46,7 +46,7 @@ | F ASGN FuncExpr

Subject expressions consist mainly of function application. We also define nothing-statements, which have very similar syntax to subject expressions but do not permit assignment. They can be used as an STMT or in place of a left argument.

-
arg      = subExpr
+
arg      = subject
          | ( subject | nothing )? Derv arg
 nothing  = "·"
          | ( subject | nothing )? Derv nothing
diff --git a/spec/grammar.md b/spec/grammar.md
index ab29d32f..b4c729d4 100644
--- a/spec/grammar.md
+++ b/spec/grammar.md
@@ -50,7 +50,7 @@ Functions can be formed by applying modifiers, or with trains. Modifiers are lef
 
 Subject expressions consist mainly of function application. We also define nothing-statements, which have very similar syntax to subject expressions but do not permit assignment. They can be used as an `STMT` or in place of a left argument.
 
-    arg      = subExpr
+    arg      = subject
              | ( subject | nothing )? Derv arg
     nothing  = "·"
              | ( subject | nothing )? Derv nothing
-- 
cgit v1.2.3