diff options
author | Robert Griesemer <gri@golang.org> | 2009-01-29 17:00:18 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-01-29 17:00:18 -0800 |
commit | 5362c610e210efd2f7fa20dbaadab3127d34f516 (patch) | |
tree | a9ab27e7a2d92dc538f74e519a58be1f063d4516 /usr/gri/gosrc/object.go | |
parent | 94627488ab01ac7f456dd2ade68070767cb8b8f8 (diff) | |
download | golang-5362c610e210efd2f7fa20dbaadab3127d34f516.tar.gz |
- removed obsolete files from repository
(most of this has been integrated into pretty,
the rest has been archived).
R=r
OCL=23842
CL=23842
Diffstat (limited to 'usr/gri/gosrc/object.go')
-rwxr-xr-x | usr/gri/gosrc/object.go | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/usr/gri/gosrc/object.go b/usr/gri/gosrc/object.go deleted file mode 100755 index 718796095..000000000 --- a/usr/gri/gosrc/object.go +++ /dev/null @@ -1,36 +0,0 @@ -// 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" - - -const /* kind */ ( - BAD = iota; // error handling - CONST; TYPE; VAR; FIELD; FUNC; BUILTIN; PACKAGE; LABEL; - END; // end of scope (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. - - -func KindStr(kind int) string { - switch kind { - case BAD: return "BAD"; - case CONST: return "CONST"; - case TYPE: return "TYPE"; - case VAR: return "VAR"; - case FIELD: return "FIELD"; - case FUNC: return "FUNC"; - case BUILTIN: return "BUILTIN"; - case PACKAGE: return "PACKAGE"; - case LABEL: return "LABEL"; - case END: return "END"; - } - return "<unknown Object kind>"; -} |