Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readKeyword (0.07 sec)

  1. src/go/build/read.go

    					c = r.readByteNoBuf()
    				}
    				startLine = true
    			}
    		}
    	}
    	return false
    }
    
    // readKeyword reads the given keyword from the input.
    // If the keyword is not present, readKeyword records a syntax error.
    func (r *importReader) readKeyword(kw string) {
    	r.peekByte(true)
    	for i := 0; i < len(kw); i++ {
    		if r.nextByte(false) != kw[i] {
    			r.syntaxError()
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top