Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _EOF (0.03 sec)

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

    		// since comments before may set pragmas for the next function decl.
    		p.clearPragma()
    
    		if p.tok != _EOF && !p.got(_Semi) {
    			p.syntaxError("after top level declaration")
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    		}
    	}
    	// p.tok == _EOF
    
    	p.clearPragma()
    	f.EOF = p.pos()
    
    	return f
    }
    
    func isEmptyFuncDecl(dcl Decl) bool {
    	f, ok := dcl.(*FuncDecl)
    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