1. 17 Dec, 2009 8 commits
  2. 16 Dec, 2009 20 commits
  3. 15 Dec, 2009 12 commits
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · 45ca9f7a
      Robert Griesemer authored
         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
      
      5th and last set of files.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/180050
      45ca9f7a
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · d65a5cce
      Robert Griesemer authored
         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
      
      4th set of files.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/180049
      d65a5cce
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · a3d1045f
      Robert Griesemer authored
         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
      
      3rd set of files.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/180048
      a3d1045f
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · 5a1d3323
      Robert Griesemer authored
                        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
      https://golang.org/cl/180047
      5a1d3323
    • Rob Pike's avatar
      update tutorial. · 34356e9a
      Rob Pike authored
      R=rsc
      CC=golang-dev
      https://golang.org/cl/179063
      34356e9a
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · 1c729599
      Robert Griesemer authored
                        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
      
      	       2nd set of files.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/179067
      1c729599
    • Russ Cox's avatar
      gc: double-check usage of ... · d122bb21
      Russ Cox authored
      Fixes #423.
      
      R=ken2
      https://golang.org/cl/180045
      d122bb21
    • Russ Cox's avatar
      gc: var x, ok = m[y] · 0282cc5e
      Russ Cox authored
      Fixes #384.
      
      R=ken2
      https://golang.org/cl/179061
      0282cc5e
    • Ian Lance Taylor's avatar
      Tweak test to work with both 6g and gccgo. · 84e7cb06
      Ian Lance Taylor authored
      Pull the struct into a single line, since 6g reports the error
      on the last line of the struct definition and gccgo reports it
      on the first line.
      
      6g:
      bug215.go:12: invalid recursive type A
      
      gccgo:
      bug215.go:12:6: error: invalid recursive type ‘A’
      
      R=rsc
      https://golang.org/cl/180044
      84e7cb06
    • Russ Cox's avatar
      codereview: add golang-dev@googlegroups.com · 82747423
      Russ Cox authored
          automatically in "hg mail".
      also, avoid "empty list means all modified files in client" bug
      
      R=gri, cw
      CC=golang-dev
      https://golang.org/cl/174072
      82747423
    • Robert Griesemer's avatar
      fix TODO: insert semicolons before any sequence of comments · 55ca7a26
      Robert Griesemer authored
      that introduce the newline (important for correct placement
      of comments with gofmt when parsing new syntax)
      
      R=rsc
      https://golang.org/cl/179055
      55ca7a26
    • Arvindh Rajesh Tamilmani's avatar
      xml: handle unexpected EOF while parsing and fix a bug in name · dec5bb78
      Arvindh Rajesh Tamilmani authored
      mustgetc reports unexpected EOF as SyntaxError.  using
      mustgetc seems to be a better approach than letting the
      caller handle unexpected EOF every time.
      
      name: the second if statement should explicitly return
      ok==false.
      
      R=rsc
      https://golang.org/cl/174083
      dec5bb78