diff options
Diffstat (limited to 'src/pkg/exp/template/set.go')
-rw-r--r-- | src/pkg/exp/template/set.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/exp/template/set.go b/src/pkg/exp/template/set.go index 58bbb0c129..492e270e12 100644 --- a/src/pkg/exp/template/set.go +++ b/src/pkg/exp/template/set.go @@ -93,14 +93,14 @@ func (s *Set) Parse(text string) (err os.Error) { if t.atEOF() { return } - t.expect(itemLeftMeta, context) + t.expect(itemLeftDelim, context) t.expect(itemDefine, context) name := t.expect(itemString, context) t.name, err = strconv.Unquote(name.val) if err != nil { t.error(err) } - t.expect(itemRightMeta, context) + t.expect(itemRightDelim, context) end := t.parse(false) if end == nil { t.errorf("unexpected EOF in %s", context) |