aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse_tree.h')
-rw-r--r--parse_tree.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/parse_tree.h b/parse_tree.h
index 5b2f717e..f9f27beb 100644
--- a/parse_tree.h
+++ b/parse_tree.h
@@ -254,7 +254,12 @@ bool parse_tree_from_string(const wcstring &str, parse_tree_flags_t flags, parse
optional_background = <empty> | <TOK_BACKGROUND>
end_command = END
-
+
+ # A freestanding_argument_list is equivalent to a normal argument list, except it may contain TOK_END (newlines, and even semicolons, for historical reasons:
+
+ freestanding_argument_list = <empty> |
+ argument freestanding_argument_list |
+ <TOK_END> freestanding_argument_list
*/
#endif