Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectedMessages (0.15 sec)

  1. src/cmd/asm/internal/asm/parse.go

    }
    
    // expect verifies that the next item has the expected type. It does not consume it.
    func (p *Parser) expect(expectedToken lex.ScanToken, expectedMessage string) {
    	if p.peek() != expectedToken {
    		p.errorf("expected %s, found %s", expectedMessage, p.next())
    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    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)
Back to top