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

View file

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