Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
has no access to yylex)
R=ken2, ken3
CC=golang-dev
http://codereview.appspot.com/813047
Committer: Ken Thompson <ken@golang.org>
|
|
Instead of calling the package scope Lex function,
Parse now takes an argument which is used to
do the lexing.
I reverted to having the generated switch
code inside Parse rather than a separate function because
the function needs 7 arguments or a context structure,
which seems unnecessary.
I used yyrun(), not the original $A so that
it's possible to run the backquoted code through gofmt.
R=rsc, ken2, ken3
CC=golang-dev
http://codereview.appspot.com/879041
Committer: Ken Thompson <ken@golang.org>
|
|
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
http://codereview.appspot.com/741041
|
|
Fixes issue 618.
R=rsc
CC=golang-dev
http://codereview.appspot.com/217094
|
|
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/206044
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/197043
|
|
parsing and printing to new syntax.
Use -oldparser to parse the old syntax,
use -oldprinter to print the old syntax.
2) Change default gofmt formatting settings
to use tabs for indentation only and to use
spaces for alignment. This will make the code
alignment insensitive to an editor's tabwidth.
Use -spaces=false to use tabs for alignment.
3) Manually changed src/exp/parser/parser_test.go
so that it doesn't try to parse the parser's
source files using the old syntax (they have
new syntax now).
4) gofmt -w src misc test/bench
1st set of files.
R=rsc
CC=agl, golang-dev, iant, ken2, r
http://codereview.appspot.com/180047
|
|
Update units.y too.
Fixes issue 417.
R=rsc
CC=golang-dev
http://codereview.appspot.com/176063
|
|
R=rsc
http://codereview.appspot.com/172041
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, gri
CC=golang-dev
http://codereview.appspot.com/156115
|
|
R=rsc
http://codereview.appspot.com/156100
|
|
rsc's algorithm
- applied gofmt -w misc src
- partial CL (remaining files in other CLs)
R=rsc, r
http://go/go-review/1024040
|
|
R=rsc, r
http://go/go-review/1025029
|
|
so that first sentence is better for cmd page.
live at http://r45:3456/cmd/
R=gri, r
http://go/go-review/1024034
|
|
- enabled for function declarations (not just function literals)
- applied gofmt -w $GOROOT/src
(look for instance at src/pkg/debug/elf/elf.go)
R=r, rsc
CC=go-dev
http://go/go-review/1026006
|
|
(with this change: gofmt -l src/cmd/ | wc
is 0 0 0)
R=ken, rsc
http://go/go-review/1024005
|
|
R=rsc
http://go/go-review/1024004
|
|
document goyacc a little.
R=rsc
CC=go-dev
http://go/go-review/1017024
|
|
R=rsc
OCL=34545
CL=34545
|
|
add makefile rules to build a binary named units as a demo.
R=r
DELTA=1257 (659 added, 597 deleted, 1 changed)
OCL=34528
CL=34530
|
|
R=rsc
OCL=34526
CL=34526
|
|
written in (c-style) go
produces go source parser
R=rsc
OCL=34522
CL=34522
|