]> Cypherpunks repositories - gostls13.git/commitdiff
ebnf, ebnflint: move under exp
authorRobert Griesemer <gri@golang.org>
Wed, 12 Oct 2011 00:43:10 +0000 (17:43 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 12 Oct 2011 00:43:10 +0000 (17:43 -0700)
pkg/ebnf -> pkg/exp/ebnf
cmd/ebnflint -> pkg/exp/ebnflint

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5188042

src/cmd/Makefile
src/pkg/Makefile
src/pkg/exp/ebnf/Makefile [moved from src/pkg/ebnf/Makefile with 74% similarity]
src/pkg/exp/ebnf/ebnf.go [moved from src/pkg/ebnf/ebnf.go with 100% similarity]
src/pkg/exp/ebnf/ebnf_test.go [moved from src/pkg/ebnf/ebnf_test.go with 100% similarity]
src/pkg/exp/ebnf/parser.go [moved from src/pkg/ebnf/parser.go with 100% similarity]
src/pkg/exp/ebnflint/Makefile [moved from src/cmd/ebnflint/Makefile with 83% similarity]
src/pkg/exp/ebnflint/doc.go [moved from src/cmd/ebnflint/doc.go with 100% similarity]
src/pkg/exp/ebnflint/ebnflint.go [moved from src/cmd/ebnflint/ebnflint.go with 99% similarity]
src/run.bash

index de1410b4f2eb4b747f27abb72dc94ac81b6748b0..d9da50a66b2546fab6537b8ab58f1a72ef6ea2fb 100644 (file)
@@ -38,7 +38,6 @@ CLEANDIRS=\
        8g\
        8l\
        cgo\
-       ebnflint\
        godoc\
        gofix\
        gofmt\
index e833fcfbba8c60f4a6cb83039a1d7fe02e376c55..321b463b13af08b24e51fd6090cb5ba978a93e44 100644 (file)
@@ -68,7 +68,6 @@ DIRS=\
        debug/elf\
        debug/gosym\
        debug/pe\
-       ebnf\
        encoding/ascii85\
        encoding/base32\
        encoding/base64\
@@ -78,6 +77,8 @@ DIRS=\
        encoding/pem\
        exec\
        exp/datafmt\
+       exp/ebnf\
+       exp/ebnflint\
        exp/gui\
        exp/gui/x11\
        exp/norm\
@@ -173,7 +174,6 @@ DIRS=\
        websocket\
        xml\
        ../cmd/cgo\
-       ../cmd/ebnflint\
        ../cmd/godoc\
        ../cmd/gofix\
        ../cmd/gofmt\
@@ -201,6 +201,7 @@ NOTEST+=\
        crypto\
        crypto/openpgp/error\
        crypto/x509/pkix\
+       exp/ebnflint\
        exp/gui\
        exp/gui/x11\
        exp/sql/driver\
@@ -220,7 +221,6 @@ NOTEST+=\
        testing\
        testing/iotest\
        ../cmd/cgo\
-       ../cmd/ebnflint\
        ../cmd/godoc\
        ../cmd/gotest\
        ../cmd/goyacc\
similarity index 74%
rename from src/pkg/ebnf/Makefile
rename to src/pkg/exp/ebnf/Makefile
index f5555d2720497f1c522a2047fe9adc6dd8ece815..844de675cb8732f66a09fc7cfa05062c54e555f5 100644 (file)
@@ -2,11 +2,11 @@
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
 
-include ../../Make.inc
+include ../../../Make.inc
 
-TARG=ebnf
+TARG=exp/ebnf
 GOFILES=\
        ebnf.go\
        parser.go\
 
-include ../../Make.pkg
+include ../../../Make.pkg
similarity index 83%
rename from src/cmd/ebnflint/Makefile
rename to src/pkg/exp/ebnflint/Makefile
index 8f030aaefa97c4d3390888bfe66e35fbbb4035a9..2057b07d58221316b992a08ac8d377e809a6bd3d 100644 (file)
@@ -2,13 +2,13 @@
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
 
-include ../../Make.inc
+include ../../../Make.inc
 
 TARG=ebnflint
 GOFILES=\
        ebnflint.go\
 
-include ../../Make.cmd
+include ../../../Make.cmd
 
 test: $(TARG)
        $(TARG) -start="SourceFile" "$(GOROOT)"/doc/go_spec.html
similarity index 99%
rename from src/cmd/ebnflint/ebnflint.go
rename to src/pkg/exp/ebnflint/ebnflint.go
index 6f307b7060ce1d44616af6f6879877d5ca4c9cbf..c827716c44c9453af812240afde424810efa856c 100644 (file)
@@ -6,7 +6,7 @@ package main
 
 import (
        "bytes"
-       "ebnf"
+       "exp/ebnf"
        "flag"
        "fmt"
        "go/scanner"
index b1eaf3abe6d168c4b4bb98a8a949d06eae36fa1f..d3d2c69bf5afab1607ab8a99740ea643c4adb93e 100755 (executable)
@@ -45,7 +45,7 @@ gomake testshort
 GOMAXPROCS=10 gomake testshort
 ) || exit $?
 
-(xcd cmd/ebnflint
+(xcd pkg/exp/ebnflint
 time gomake test
 ) || exit $?