Rename while:label to while.label

This commit is contained in:
Nigel Tao committed 2019-10-12 19:04:32 +11:00
1 parent 5d29c7df61
commit 7872a8893b
8 files changed
+27 -26

No files matched your search

+1 -1
View File
@@ -599,7 +599,7 @@ func (p *parser) parseStatement() (*a.Node, error) {
}
func (p *parser) parseLabel() (t.ID, error) {
if p.peek1() == t.IDColon {
if p.peek1() == t.IDDot {
p.src = p.src[1:]
return p.parseIdent()
}