1
0
mirror of https://github.com/golang/go synced 2024-11-06 04:16:11 -07:00

return derectly

This commit is contained in:
mantuliu 2022-10-17 20:47:41 +08:00
parent 3d92205ef5
commit 95586bfc16

View File

@ -567,10 +567,7 @@ func (p *Parser) atRegisterExtension() bool {
return false
}
// R1.xxx
if p.peek() == '.' {
return true
}
return false
return p.peek() == '.'
}
// registerReference parses a register given either the name, R10, or a parenthesized form, SPR(10).