Changed from square brackets to parenthesis

This leaves the square brackets free for lists
This commit is contained in:
Leon Mika 2024-04-10 22:44:20 +10:00
parent fd177280d2
commit 3b320206e9
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ type astLiteral struct {
type astCmdArg struct {
Literal *astLiteral `parser:"@@"`
Sub *astPipeline `parser:"| '[' @@ ']'"`
Sub *astPipeline `parser:"| '(' @@ ')'"`
}
type astCmd struct {