summaryrefslogtreecommitdiff
path: root/src/cmd/yacc/doc.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/yacc: move cmd/yacc/expr to cmd/yacc/testdata/exprRuss Cox2014-09-061-2/+3
| | | | | | | | | | | | | This will keep the go command from trying to build it when the cmd/ tree is no longer a special case. Also update doc.go to refer to the correct location. (It was incorrect even before this CL.) LGTM=r R=iant, r CC=golang-codereviews https://codereview.appspot.com/134560043
* cmd/yacc: replace units example with simpler expr exampleIan Lance Taylor2013-09-111-4/+2
| | | | | | | | | | The units example is nice but is covered by the Lucent license, which may be a concern for some people making a commercial source code distribution of Go. R=golang-dev, r CC=golang-dev https://codereview.appspot.com/13283045
* cmd/godoc: use go/build to determine package and example filesRobert Griesemer2013-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also: - faster code for example extraction - simplify handling of command documentation: all "main" packages are treated as commands - various minor cleanups along the way For commands written in Go, any doc.go file containing documentation must now be part of package main (rather then package documentation), otherwise the documentation won't show up in godoc (it will still build, though). For commands written in C, documentation may still be in doc.go files defining package documentation, but the recommended way is to explicitly ignore those files with a +build ignore constraint to define package main. Fixes issue 4806. R=adg, rsc, dave, bradfitz CC=golang-dev https://codereview.appspot.com/7333046
* cmd: update formatting of usage messagesAndrew Gerrand2012-03-051-2/+5
| | | | | | R=golang-dev, r, minux.ma CC=golang-dev http://codereview.appspot.com/5738045
* cmd/go: first piece of tool rearrangementRob Pike2012-01-291-0/+48
1) create go-tool dir in make.bash 2) clean up stale binaries in make.bash 3) add 'tool' command to go 4) convert goyacc->yacc as a first test tool Since goyacc stands alone, it's a safe trial. R=rsc CC=golang-dev http://codereview.appspot.com/5576061