commit | e708a9d96d4df48abbae3612b38449bd806b55da | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Fri Apr 03 14:34:35 2015 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Fri Apr 03 14:34:35 2015 +0900 |
tree | 791836f7d7262bc72587b80480321a774d00633e | |
parent | 47ffb72d351870f302cdac4397d2f13a840fef35 [diff] [blame] |
Implement word, wordlist, words, firstword, and lastword
diff --git a/exec.go b/exec.go index 19359d4..1198e2e 100644 --- a/exec.go +++ b/exec.go
@@ -207,6 +207,8 @@ }) } ev := newEvaluator(localVars) + ev.filename = rule.filename + ev.lineno = rule.cmdLineno var cmds []string for _, cmd := range rule.cmds { if strings.IndexByte(cmd, '$') < 0 {