- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for gotAssign (0.29 sec)
-
src/cmd/compile/internal/syntax/parser.go
} func (p *parser) want(tok token) { if !p.got(tok) { p.syntaxError("expected " + tokstring(tok)) p.advance() } } // gotAssign is like got(_Assign) but it also accepts ":=" // (and reports an error) for better parser error recovery. func (p *parser) gotAssign() bool { switch p.tok { case _Define: p.syntaxError("expected =") fallthrough case _Assign: p.next() return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0)