1. 04 Aug, 2009 5 commits
  2. 03 Aug, 2009 5 commits
    • Rob Pike's avatar
      this time really clean up a TODO · f17c6bca
      Rob Pike authored
      R=rsc
      DELTA=28  (0 added, 20 deleted, 8 changed)
      OCL=32676
      CL=32684
      f17c6bca
    • Rob Pike's avatar
      clean up a TODO · fe287e79
      Rob Pike authored
      R=rsc
      DELTA=45  (28 added, 4 deleted, 13 changed)
      OCL=32673
      CL=32675
      fe287e79
    • Rob Pike's avatar
      don't crash printing a nil map · cb9c9738
      Rob Pike authored
      R=rsc
      DELTA=19  (18 added, 0 deleted, 1 changed)
      OCL=32656
      CL=32670
      cb9c9738
    • Russ Cox's avatar
      more 6g reorg; checkpoint. · 9dc22b6d
      Russ Cox authored
      typecheck.c is now responsible for all type checking
      except for assignment and function argument "..."
      
      R=ken
      OCL=32661
      CL=32667
      9dc22b6d
    • Robert Griesemer's avatar
      printer.go: · 17808905
      Robert Griesemer authored
      - emit line tag id's in html mode
      - support for general html tags
      - better names for a few identifiers
      
      godoc.go:
      - emit links from exported names to source code
        (actual placement needs fine-tuning)
      
      R=rsc
      DELTA=108  (68 added, 4 deleted, 36 changed)
      OCL=32639
      CL=32654
      17808905
  3. 01 Aug, 2009 5 commits
    • Robert Griesemer's avatar
      fix long-standing bug in doc reader: · 22ec5399
      Robert Griesemer authored
      - replace forward-declared types with complete
        declaration when it is found
      
      R=rsc
      DELTA=23  (15 added, 0 deleted, 8 changed)
      OCL=32618
      CL=32618
      22ec5399
    • Robert Griesemer's avatar
      language re: conversion of left operand in shift operations · 7539c850
      Robert Griesemer authored
      DELTA=5  (5 added, 0 deleted, 0 changed)
      OCL=32484
      CL=32617
      7539c850
    • Robert Griesemer's avatar
      printer: · 62718fb5
      Robert Griesemer authored
      - prepare for generation of HTML id tags and links
      - do HTML-escaping in central print routine
      - move tabwriter setup into printer
      - fixed various TODOs
      
      godoc:
      - removed tabwriter setup, need for various HTML-escaping
      
      R=rsc
      DELTA=210  (107 added, 36 deleted, 67 changed)
      OCL=32612
      CL=32616
      62718fb5
    • Rob Pike's avatar
      more info about comments · d951ce4e
      Rob Pike authored
      R=rsc
      DELTA=100  (82 added, 4 deleted, 14 changed)
      OCL=32609
      CL=32615
      d951ce4e
    • Austin Clements's avatar
      Implement type compatibility and fix places where I thought · 458e23e1
      Austin Clements authored
      types were supposed to be identical but only needed to be
      compatible.  This gets rid of the Type.literal method.  I
      renamed the Type.rep method to Type.lit because I believe it
      corresponds to the term "literal" as used in the spec.
      
      R=rsc
      APPROVED=rsc
      DELTA=228  (57 added, 35 deleted, 136 changed)
      OCL=32606
      CL=32608
      458e23e1
  4. 31 Jul, 2009 12 commits
  5. 30 Jul, 2009 11 commits
    • Austin Clements's avatar
      String method for token.Position. Extracted from gri's tree. · 9717a794
      Austin Clements authored
      R=gri
      APPROVED=gri
      DELTA=33  (20 added, 6 deleted, 7 changed)
      OCL=32544
      CL=32546
      9717a794
    • Rob Pike's avatar
      fix a long-standing typo · 07a497fe
      Rob Pike authored
      R=rsc
      DELTA=2  (0 added, 0 deleted, 2 changed)
      OCL=32540
      CL=32545
      07a497fe
    • Russ Cox's avatar
      typechecking checkpoint. · ff3a73b4
      Russ Cox authored
      started to move typechecking to another file.
      can build entire tree still, but lots of work
      is duplicated.  much to clean up.
      
      R=ken
      OCL=32536
      CL=32543
      ff3a73b4
    • Russ Cox's avatar
      use errchk in more places. · 34b277f0
      Russ Cox authored
      let errchk exit 0 even if it has reported a BUG.
      it echoed BUG and that's all that matters.
      
      R=r
      DELTA=143  (1 added, 89 deleted, 53 changed)
      OCL=32533
      CL=32542
      34b277f0
    • Austin Clements's avatar
      Implement labels, goto, labeled break, and labeled continue. · 36ca5fde
      Austin Clements authored
      Return checking is now done as a general flow check at the end
      of function compilation, since break and goto complicated the
      way I was doing return checking before.  Goto-over-declaration
      checking is also done as a final flow check.
      
      Temporary variables used for effect extraction are now
      actually temporary.  Otherwise "op=", "++", and "--" appear as
      declarations that cannot be jumped over.
      
      R=rsc
      APPROVED=rsc
      DELTA=421  (344 added, 38 deleted, 39 changed)
      OCL=32527
      CL=32535
      36ca5fde
    • Russ Cox's avatar
      use full path on command line when compiling, · 6ccebe08
      Russ Cox authored
      so that gdb shows full path in stack traces.
      
      R=r
      DELTA=4  (4 added, 0 deleted, 0 changed)
      OCL=32522
      CL=32528
      6ccebe08
    • Russ Cox's avatar
      fix build on amd64 · 517e3457
      Russ Cox authored
      R=ken
      OCL=32521
      CL=32521
      517e3457
    • Russ Cox's avatar
      fixed golden.out, which is what 32496 should have done. · bbeb2276
      Russ Cox authored
      roll back 32496
      
      TBR=austin
      OCL=32499
      CL=32501
      bbeb2276
    • Russ Cox's avatar
      fix build · 3a23da65
      Russ Cox authored
      TBR=austin
      OCL=32496
      CL=32496
      3a23da65
    • Rob Pike's avatar
      handle unsupported types safely. · 98607d01
      Rob Pike authored
      R=rsc
      DELTA=154  (71 added, 6 deleted, 77 changed)
      OCL=32483
      CL=32492
      98607d01
    • Robert Griesemer's avatar
      parser: · 312bd7a1
      Robert Griesemer authored
      - Changed filter function for parser.ParsePackage to
        take an *os.Dir instead of a filename for more
        powerful filters
      
      - Removed TODO in ast.PackageInterface: Now collect
        package comments from all package files
      
      - Cleanups in godoc: Use the new ParsePackage and
        PackageInterface functions; as a result computing
        package information is much simpler now.
      
      R=rsc
      DELTA=285  (80 added, 110 deleted, 95 changed)
      OCL=32473
      CL=32486
      312bd7a1
  6. 29 Jul, 2009 2 commits