mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
parse: Save one LOC.
This commit is contained in:
parent
5dee621830
commit
3d32200799
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user