- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testtoken (3.01 sec)
-
src/cmd/asm/internal/asm/parse.go
break } operands = operands1 p.symDefRef(w, word, operands) } return p.errorCount == 0 } // nextToken returns the next non-build-comment token from the lexer. // It reports misplaced //go:build comments but otherwise discards them. func (p *Parser) nextToken() lex.ScanToken { for { tok := p.lex.Next() if tok == lex.BuildComment { if p.sawCode {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/archive/tar/reader.go
buf.Write(blk[:]) for _, c := range blk { if c == '\n' { cntNewline++ } } } return nil } // nextToken gets the next token delimited by a newline. This assumes that // at least one newline exists in the buffer. nextToken := func() string { cntNewline-- tok, _ := buf.ReadString('\n') return strings.TrimRight(tok, "\n") } // Parse for the number of entries.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)