aboutsummaryrefslogtreecommitdiff
path: root/pkg/pointer/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pointer/exec.go')
-rw-r--r--pkg/pointer/exec.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/pointer/exec.go b/pkg/pointer/exec.go
index 9859360..aae7a81 100644
--- a/pkg/pointer/exec.go
+++ b/pkg/pointer/exec.go
@@ -75,6 +75,9 @@ func (p *Pointer) eval(c int, f *field.Field) (done bool, returnValue *int) {
if n > 0 {
p.x, p.y = x, y
if c != ' ' && c != ';' {
+ if c == 'q' || c == '@' {
+ return p.eval(c, f)
+ }
for i := 0; i < n; i++ {
p.eval(c, f)
}