Changed from square brackets to parenthesis
This leaves the square brackets free for lists
This commit is contained in:
parent
fd177280d2
commit
3b320206e9
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue