Skip to content

Commit f6ca754

Browse files
committed
print-path: allow combined46 Objects
1 parent a59e549 commit f6ca754

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go/pkg/pass1/print-path.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ func (c *spoc) printPath(stdout io.Writer, path string, params []string) {
6767
elements := c.expandGroup(parsed, "print-path", false)
6868
c.stopOnErr()
6969
if len(elements) != 1 {
70-
c.abort("Only one element allowed in %s", elements)
70+
if !(len(elements) == 2 && elements[0].isCombined46()) {
71+
c.abort("Only one element allowed in %s", elements)
72+
}
7173
}
7274
switch el := elements[0].(type) {
7375
case *network:

0 commit comments

Comments
 (0)