1. 24 Mar, 2009 7 commits
  2. 23 Mar, 2009 3 commits
  3. 21 Mar, 2009 3 commits
    • Rob Pike's avatar
      add simple text about & and *. · afee1c5f
      Rob Pike authored
      clean up html: PLEASE RUN TIDY WHEN YOU EDIT THIS DOCUMENT
      deferring method value update until we decide what happens.
      
      R=gri
      DELTA=50  (38 added, 4 deleted, 8 changed)
      OCL=26609
      CL=26612
      afee1c5f
    • Robert Griesemer's avatar
      - completed AST cleanup · 808341dd
      Robert Griesemer authored
      - implemented support for type switches
      
      R=r
      OCL=26608
      CL=26608
      808341dd
    • Rob Pike's avatar
      fix wording of &T{x} · 2a5af744
      Rob Pike authored
      R=rsc
      DELTA=5  (0 added, 2 deleted, 3 changed)
      OCL=26607
      CL=26607
      2a5af744
  4. 20 Mar, 2009 9 commits
    • Russ Cox's avatar
      update 8a, 8c, 8l to use new object format. · 2bd101c4
      Russ Cox authored
      add "extern register" support to 8c.
      extern register means allocate in the FS-relative segment.
      
      make 8l generate segmented stack checks.
      
      R=ken
      OCL=26600
      CL=26606
      2bd101c4
    • Russ Cox's avatar
      embarassing bug in allocator: · c1e748bd
      Russ Cox authored
      was applying wrong waste check,
      resulting in many more size classes
      than necessary.
      
      R=r
      DELTA=2  (0 added, 0 deleted, 2 changed)
      OCL=26602
      CL=26605
      c1e748bd
    • Ian Lance Taylor's avatar
      Test that interfaces work in type switches. · 90943c8e
      Ian Lance Taylor authored
      R=ken,rsc
      DELTA=30  (30 added, 0 deleted, 0 changed)
      OCL=26599
      CL=26604
      90943c8e
    • Russ Cox's avatar
      make 8l generate Darwin Mach-O and Linux ELF binaries · 7d443bb6
      Russ Cox authored
      R=ken
      OCL=26584
      CL=26589
      7d443bb6
    • Russ Cox's avatar
      don't need two names for the same function (vputl and llputl). · 997b6f9d
      Russ Cox authored
      also use thechar, to make copy/paste easier.
      
      R=ken
      OCL=26583
      CL=26588
      997b6f9d
    • Russ Cox's avatar
      move pragtextflag into lexbody · 0932b1f9
      Russ Cox authored
      R=ken
      OCL=26581
      CL=26587
      0932b1f9
    • Russ Cox's avatar
      range over channels. · 54aa835b
      Russ Cox authored
      also fix multiple-evaluation bug in range over arrays.
      
      R=ken
      OCL=26576
      CL=26576
      54aa835b
    • Ian Lance Taylor's avatar
      Match gccgo error messages. · 386845b2
      Ian Lance Taylor authored
      bug090.go:41:6: error: floating point constant truncated to integer
      bug090.go:32:6: error: floating point constant truncated to integer
      bug090.go:34:14: error: floating point constant truncated to integer
      bug090.go:37:5: error: incompatible types in assignment
      bug090.go:40:5: error: incompatible types in assignment
      
      R=rsc
      DELTA=2  (0 added, 0 deleted, 2 changed)
      OCL=26564
      CL=26574
      386845b2
    • Ian Lance Taylor's avatar
      Modify error regexps to match gccgo error messages. · 8b3df525
      Ian Lance Taylor authored
      const1.go:23:13: error: integer constant overflow
      const1.go:25:13: error: integer constant overflow
      const1.go:26:14: error: integer constant overflow
      const1.go:27:18: error: integer constant overflow
      const1.go:28:19: error: integer constant overflow
      const1.go:29:16: error: integer constant overflow
      const1.go:29:25: error: integer constant overflow
      const1.go:30:13: error: integer constant overflow
      const1.go:33:14: error: integer constant overflow
      const1.go:34:14: error: integer constant overflow
      const1.go:36:22: error: integer constant overflow
      const1.go:37:7: error: integer constant overflow
      const1.go:38:8: error: integer constant overflow
      const1.go:39:7: error: integer constant overflow
      const1.go:40:7: error: integer constant overflow
      const1.go:41:8: error: integer constant overflow
      const1.go:44:23: error: integer constant overflow
      const1.go:46:13: error: integer constant overflow
      const1.go:47:24: error: integer constant overflow
      const1.go:48:24: error: integer constant overflow
      const1.go:49:22: error: integer constant overflow
      const1.go:51:23: error: integer constant overflow
      const1.go:52:19: error: division by zero
      const1.go:58:11: error: division by zero
      const1.go:43:17: error: integer constant overflow
      const1.go:45:13: error: integer constant overflow
      const1.go:55:19: error: floating point overflow
      const1.go:56:28: error: floating point overflow
      const1.go:57:11: error: floating point overflow
      const1.go:64:2: error: argument 0 has wrong type
      const1.go:65:2: error: argument 0 has wrong type
      const1.go:66:2: error: argument 0 has wrong type
      const1.go:68:2: error: argument 0 has wrong type
      const1.go:69:2: error: argument 0 has wrong type
      const1.go:70:4: error: floating point constant truncated to integer
      const1.go:72:2: error: argument 0 has wrong type
      const1.go:73:2: error: argument 0 has wrong type
      const1.go:74:2: error: argument 0 has wrong type
      
      R=rsc
      DELTA=34  (0 added, 0 deleted, 34 changed)
      OCL=26560
      CL=26560
      8b3df525
  5. 19 Mar, 2009 4 commits
  6. 18 Mar, 2009 8 commits
  7. 17 Mar, 2009 6 commits
    • Rob Pike's avatar
      type switches · 5a578497
      Rob Pike authored
      R=rsc,gri
      DELTA=107  (90 added, 1 deleted, 16 changed)
      OCL=26420
      CL=26427
      5a578497
    • Ken Thompson's avatar
      binary search on type switches. · 0f469a99
      Ken Thompson authored
      new feature 'case nil:' in type switch
      will match iff the interface is nil.
      
      R=r
      OCL=26404
      CL=26404
      0f469a99
    • Rob Pike's avatar
      change the tutorial to use File, file rather than FD, fd. · e9f4fb28
      Rob Pike authored
      also make the default input for makehtml be go_tutorial.txt.
      
      R=rsc
      DELTA=176  (58 added, 58 deleted, 60 changed)
      OCL=26374
      CL=26374
      e9f4fb28
    • Ian Lance Taylor's avatar
      Recognize gccgo error message. · bd64e810
      Ian Lance Taylor authored
      const2.go:7:9: error: expected '='
      
      Uses '.' to recognize the quotation marks, as the actual
      characters printed depend on the user's locale.
      
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=26360
      CL=26373
      bd64e810
    • Ian Lance Taylor's avatar
      Don't try to define the same label twice, as that produces a · 1e391439
      Ian Lance Taylor authored
      label redefinition error.
      
      R=gri
      DELTA=6  (0 added, 0 deleted, 6 changed)
      OCL=26357
      CL=26372
      1e391439
    • Robert Griesemer's avatar
      daily snapshot: · 3cfd91f8
      Robert Griesemer authored
      - use explicit expression lists instead of binary trees to represent lists of the form a, b, c
      (per discussion w/ Russ)
      - use explicit nodes for various language constructs for better readability
      - various adjustments in parsing and printing
      
      next steps:
      - clean up AST fully so it can be checked in as library
      
      R=r
      OCL=26371
      CL=26371
      3cfd91f8