aboutsummaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'syntax')
-rw-r--r--syntax4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax b/syntax
index 6a53dff..ca44109 100644
--- a/syntax
+++ b/syntax
@@ -56,9 +56,9 @@ verbatim ::= 'verbatim' _value [{_ value}]
calc ::= 'calc' (__ value | _ any_exec) [{_ value | _ any_exec}]
-any_exec ::= exec_type (__ value | _ any_exec) [{_ value | _ any_exec}]
+any_exec ::= '(' _ exec_type (__ value | _ any_exec) [{_ value | _ any_exec}] _ ')'
-exec_type ::= 'exec' | 'calc' | 'pipe' | 'fullpipe' | 'cat' | 'and' | 'or'
+exec_type ::= "exec" | "calc" | "pipe" | "fullpipe" | "cat" | "and" | "or"
name ::= {letter | escape | squote | dquote}