summaryrefslogtreecommitdiff
path: root/src/pkg/exp/parser/parser.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-12-10 18:27:48 -0800
committerRobert Griesemer <gri@golang.org>2009-12-10 18:27:48 -0800
commit4976fc276b18d0340c1e6f916f9711fd81504700 (patch)
treef17c787ded538d0317f02e963469a90e8230a21c /src/pkg/exp/parser/parser.go
parent62bd074a2023c11bf81448cd500fe1cb00651302 (diff)
downloadgolang-4976fc276b18d0340c1e6f916f9711fd81504700.tar.gz
rename exp/parser package to oldParser
to allow simultaneous import with the current go/parser R=rsc http://codereview.appspot.com/174053
Diffstat (limited to 'src/pkg/exp/parser/parser.go')
-rw-r--r--src/pkg/exp/parser/parser.go15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/pkg/exp/parser/parser.go b/src/pkg/exp/parser/parser.go
index 98f57d370..32360b5d6 100644
--- a/src/pkg/exp/parser/parser.go
+++ b/src/pkg/exp/parser/parser.go
@@ -2,12 +2,17 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// A parser for Go source files. Input may be provided in a variety of
-// forms (see the various Parse* functions); the output is an abstract
-// syntax tree (AST) representing the Go source. The parser is invoked
-// through one of the Parse* functions.
+// A parser for "old" Go source files using the old semicolon syntax.
+// Input may be provided in a variety of forms (see the various Parse*
+// functions); the output is an abstract syntax tree (AST) representing
+// the Go source. The oldParser is invoked through one of the Parse*
+// functions.
//
-package parser
+// NOTE: This package is deprecated and will be removed once all Go code
+// has been converted to using the new syntax and after a reasonable
+// grace period.
+//
+package oldParser
import (
"container/vector";