Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clearPragma (0.1 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    func (p *parser) takePragma() Pragma {
    	prag := p.pragma
    	p.pragma = nil
    	return prag
    }
    
    // clearPragma is called at the end of a statement or
    // other Go form that does NOT accept a pragma.
    // It sends the pragma back to the pragma handler
    // to be reported as unused.
    func (p *parser) clearPragma() {
    	if p.pragma != nil {
    		p.pragh(p.pos(), p.scanner.blank, "", p.pragma)
    		p.pragma = nil
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top