1. 30 Sep, 2008 2 commits
    • Russ Cox's avatar
      fix export bug for /usr/r/rpc · b033c581
      Russ Cox authored
      R=ken
      OCL=16218
      CL=16218
      b033c581
    • Russ Cox's avatar
      fix up arg list parsing to handle any names: · 4d571c90
      Russ Cox authored
      type t1 int;
      type t2 int;
      type t3 int;
      func f1(t1, t2, t3);
      func f2(t1, t2, t3 bool);
      func f3(t1, t2, x t3);
      func f4(*t2, x t3);	// error: cannot mix
      func f5(t1, *t3);
      func (x *t1) f6(y *[]t2) (t1, *t3);
      func f7() (int, *string);
      func f8(t1, *t2, x t3);	// error: cannot mix
      func f9() (x int, *string);
      func f10(*t2, t3);
      
      R=ken
      OCL=16202
      CL=16210
      4d571c90
  2. 29 Sep, 2008 1 commit
  3. 27 Sep, 2008 2 commits
  4. 16 Sep, 2008 1 commit
  5. 14 Sep, 2008 1 commit
  6. 13 Sep, 2008 2 commits
  7. 11 Sep, 2008 1 commit
  8. 28 Aug, 2008 1 commit
  9. 10 Aug, 2008 1 commit
  10. 04 Aug, 2008 2 commits
    • Ken Thompson's avatar
      add 'export' adjectives to external · 989676d2
      Ken Thompson authored
      var, const and type declarations.
      
      R=r
      DELTA=49  (12 added, 28 deleted, 9 changed)
      OCL=13791
      CL=13791
      989676d2
    • Russ Cox's avatar
      make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc. · 9aad9fef
      Russ Cox authored
      these guys really really want long to be 32-bits,
      so ,s/long/int32/ (and then manual fixup).
      still passes all tests.
      
      (i started out looking for just those longs that
      needed to be int32 instead, and it was just too hard
      to track them down one by one.)
      
      the longs were rare enough that i don't think
      it will cause integration problems.
      
      R=ken
      OCL=13787
      CL=13789
      9aad9fef
  11. 20 Jul, 2008 2 commits
  12. 19 Jul, 2008 2 commits
  13. 17 Jul, 2008 3 commits
  14. 09 Jul, 2008 1 commit
  15. 08 Jul, 2008 1 commit
  16. 06 Jul, 2008 1 commit
  17. 05 Jul, 2008 1 commit
    • Ken Thompson's avatar
      output args declared · 417a971f
      Ken Thompson authored
      arguments in first block for diagnostics
      thomo return
      better syntax error recovery
      
      SVN=126045
      417a971f
  18. 27 Jun, 2008 1 commit
  19. 21 Jun, 2008 1 commit
  20. 16 Jun, 2008 1 commit
  21. 14 Jun, 2008 1 commit
  22. 12 Jun, 2008 1 commit
  23. 04 Jun, 2008 1 commit
  24. 03 Apr, 2008 1 commit
    • Ken Thompson's avatar
      generate an error if the foreward · 5d6eba80
      Ken Thompson authored
      declaration of a func does not exactly
      match the actual (or another foreward)
      declaration. the reason is that when
      there are 2 declarations of a function,
      the names of the parameters are taken
      from the first. thus
         func x(a int);
      followed by
         func x(b int) { ... }
      will have the parameter named "a" and
      "b" will be undefined.
      
      SVN=114788
      5d6eba80
  25. 01 Apr, 2008 1 commit
    • Ken Thompson's avatar
      bug36 · 87278c26
      Ken Thompson authored
      fixed error in symbol table in
      the second forward declaration of
      a function.
      
      SVN=114572
      87278c26
  26. 29 Mar, 2008 1 commit
    • Ken Thompson's avatar
      fix bug30 · 0b62cb61
      Ken Thompson authored
      automatic declaration leaking
      from one function to another
      
      SVN=114252
      0b62cb61
  27. 28 Mar, 2008 1 commit