summaryrefslogtreecommitdiff
path: root/usr/gri/src/object.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-07-10 18:05:00 -0700
committerRobert Griesemer <gri@golang.org>2008-07-10 18:05:00 -0700
commitfffe52d91f5697404854814b8b5ef9be92617c24 (patch)
tree7cc85a4c5f9655cf6d49c9e8220e232a27fb5437 /usr/gri/src/object.go
parentd1284ef9f08ad1b342a27b2f5de064b07bb45d03 (diff)
downloadgolang-fffe52d91f5697404854814b8b5ef9be92617c24.tar.gz
- created new dir (gosrc) for go-based front-end
- adjusted makefiles SVN=126763
Diffstat (limited to 'usr/gri/src/object.go')
-rwxr-xr-xusr/gri/src/object.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/usr/gri/src/object.go b/usr/gri/src/object.go
deleted file mode 100755
index cf1a432aa..000000000
--- a/usr/gri/src/object.go
+++ /dev/null
@@ -1,29 +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"
-
-
-export BAD, CONST, TYPE, VAR, FUNC, PACKAGE
-const /* kind */ (
- BAD = iota; // error handling
- CONST; TYPE; VAR; FUNC; PACKAGE;
- PTYPE; // primary type (import/export only)
-)
-
-
-type Object Globals.Object
-
-
-func NewObject(kind int, name string) *Object {
- obj := new(Object);
- obj.mark = false;
- obj.kind = kind;
- obj.name = name;
- obj.type_ = nil; // Universe::undef_t;
- obj.pnolev = 0;
- return obj;
-}