parse: Save one LOC.

This commit is contained in:
Qi Xiao 2016-02-20 17:12:06 +01:00
parent 5dee621830
commit 3d32200799

View File

@ -420,9 +420,8 @@ type Redir struct {
func (rn *Redir) parse(ps *parser, dest *Compound) {
// The parsing of the Dest part is done in Form.parse.
if dest != nil {
rn.Dest = dest
rn.setDest(dest)
rn.begin = dest.begin
addChild(rn, dest)
}
begin := ps.pos