1
0
mirror of https://github.com/golang/go synced 2024-11-17 06:24:48 -07:00
go/usr/gri/gosrc/object.go
Robert Griesemer a6f87794ff - added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348
2008-07-15 15:37:14 -07:00

21 lines
548 B
Go
Executable File

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package Object
import Globals "globals"
export BAD, CONST, TYPE, VAR, FUNC, PACKAGE, PTYPE
const /* kind */ (
BAD = iota; // error handling
CONST; TYPE; VAR; FUNC; PACKAGE;
PTYPE; // primary type (import/export only)
)
// The 'Object' declaration should be here as well, but 6g cannot handle
// this due to cross-package circular references. For now it's all in
// globals.go.