1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:30:24 -07:00
Commit Graph

16144 Commits

Author SHA1 Message Date
Rob Pike
9b664c580f 'default' bug in switch statements is fixed
SVN=123411
2008-06-18 13:06:09 -07:00
Rob Pike
a65cc2a867 add a bug: method call doesn't compile
SVN=123403
2008-06-18 11:51:21 -07:00
Ken Thompson
1926fef175 bogus diagnostic with
default as first case
in a switch

SVN=123398
2008-06-18 11:43:50 -07:00
Ken Thompson
c242b53d22 more maps
more semi-colons
type assignment of constants

SVN=123278
2008-06-17 22:33:32 -07:00
Ken Thompson
c5bb50c9dc assign nil to interface
SVN=123256
2008-06-17 18:07:40 -07:00
Ken Thompson
7131bf476c SVN=123250 2008-06-17 18:02:06 -07:00
Ken Thompson
504aa698f7 SVN=123249 2008-06-17 18:01:05 -07:00
Ken Thompson
53ec6500bc yata
SVN=123246
2008-06-17 17:59:06 -07:00
Ken Thompson
0006c83231 optional semi-colons
SVN=123245
2008-06-17 17:57:31 -07:00
Robert Griesemer
9615542d10 - added another bug test ('len' shouldn't be a keyword)
SVN=123225
2008-06-17 16:22:02 -07:00
Robert Griesemer
e5373f27d0 - added 2 bug tests
SVN=123220
2008-06-17 16:04:33 -07:00
Rob Pike
ec94a8cfc9 add two more tests
SVN=123143
2008-06-17 10:56:28 -07:00
Ken Thompson
4e8142c929 maps
SVN=123089
2008-06-16 22:34:50 -07:00
Ken Thompson
3f2d542817 added and, or, xor opcodes
SVN=123031
2008-06-16 17:04:39 -07:00
Rob Pike
88a3371a91 print pc on faults
SVN=123030
2008-06-16 17:04:30 -07:00
Rob Pike
bb57a5bc2c added two new small tests
SVN=123010
2008-06-16 15:18:10 -07:00
Rob Pike
9a58c9c52a update more tests to reflect tweaked grammar for if, switch
SVN=122916
2008-06-16 12:16:11 -07:00
Rob Pike
daebf91d2c fix up grammar for optional elements in if and switch conditions
SVN=122915
2008-06-16 12:02:27 -07:00
Rob Pike
39b28df01e update test results
SVN=122912
2008-06-16 11:36:23 -07:00
Ken Thompson
e1a06ccc80 now checks for lvalue/rvalue context of
expressions.
start of generics for calling builtin
     functions
start of map type
'any' demoted from reserved word to type

SVN=122808
2008-06-15 20:24:30 -07:00
Rob Pike
073486c3ed add support for debugging in MACH binaries
fix up libmach_amd64 to handle MACH binaries and symbols
db now works on mac and linux

SVN=122807
2008-06-15 17:22:57 -07:00
Rob Pike
30706a7ee7 error messages now have colon after line number
SVN=122803
2008-06-15 12:22:35 -07:00
Ken Thompson
efec14bc5a plan9 line numbers and line table
SVN=122793
2008-06-13 18:16:23 -07:00
Rob Pike
1ad1044b2d hack to find first instruction for decoding the pc/line table properly.
SVN=122792
2008-06-13 18:15:30 -07:00
Rob Pike
34691ccd10 support symbol tables and line numbers in 6.out executables
SVN=122700
2008-06-13 12:55:37 -07:00
Rob Pike
e9c9c9ace5 add symbol tables and line/pc information to 6.outs
SVN=122699
2008-06-13 12:54:21 -07:00
Rob Pike
a432e09b44 Add nil test, with bug
SVN=122644
2008-06-13 09:09:22 -07:00
Ken Thompson
343f5aa7b4 better import/export
SVN=122584
2008-06-12 21:48:56 -07:00
Rob Pike
67e141b637 Bug fix. Without rounding, .shstrtab is written on top of data segment
SVN=122567
2008-06-12 18:51:06 -07:00
Rob Pike
b6c9221bb1 fix name of mach_amd64 library source dir
SVN=122506
2008-06-12 14:52:41 -07:00
Rob Pike
ed5e39a66d Add 6db
SVN=122505
2008-06-12 14:50:25 -07:00
Ken Thompson
ef61a4cb1e better version of op=
fixed bugs in /= and %/

SVN=122493
2008-06-12 14:21:09 -07:00
Rob Pike
dbf1da6b37 adding ar.h for source-level compatibility in 6l.
binary compatibility is ok

SVN=122489
2008-06-12 13:46:23 -07:00
Rob Pike
54bca54655 make paths explicit for easier installation
SVN=122488
2008-06-12 13:43:47 -07:00
Rob Pike
e2e6b7e4cc remove reference to 9ar
SVN=122487
2008-06-12 13:38:54 -07:00
Rob Pike
24dbd2413b remove reference to 9ar
SVN=122486
2008-06-12 13:37:54 -07:00
Rob Pike
d024fb4ae4 add missing include file
SVN=122485
2008-06-12 13:31:17 -07:00
Rob Pike
69b74c3953 import the plan 9 libraries libc (lib9) and libbio into the tree.
remove the dependency on /home/r.

SVN=122482
2008-06-12 13:26:16 -07:00
Robert Griesemer
a40a79829f - fixed minor issues in spec
- fixed a couple of bugs in the spec (pointed out by iant)

SVN=122479
2008-06-12 13:12:41 -07:00
Rob Pike
4633a8ffe7 This test now runs correctly, with no bugs commented out
SVN=122460
2008-06-12 11:04:40 -07:00
Ken Thompson
2254a8ee99 import/export
SVN=122309
2008-06-11 21:06:26 -07:00
Rob Pike
2694a85a52 tweaks in clean rules and dependencies
SVN=122274
2008-06-11 18:01:45 -07:00
Rob Pike
461d1b7987 convert from mk to make
phew.

SVN=122266
2008-06-11 17:50:07 -07:00
Rob Pike
32aa0d9198 generated file; needs updating
SVN=122179
2008-06-11 14:03:52 -07:00
Rob Pike
820368a19a fix up mkfiles to use $GOROOT instead of $PLAN9
mention in setup doc that binaries go into $HOME/bin

SVN=122177
2008-06-11 13:59:55 -07:00
Rob Pike
df28e14e5b add a setup document, and tweak the scripts that it mentions
SVN=122175
2008-06-11 13:34:08 -07:00
Ken Thompson
2bba3a610d reorder1 - function first instead of last
SVN=122160
2008-06-11 12:25:44 -07:00
Robert Griesemer
a544938c26 - added test case
SVN=122159
2008-06-11 12:07:43 -07:00
Rob Pike
e8010b38e4 add bug045: bad nil assigning into array
update robfunc.go (BUG comment deleted)

SVN=122143
2008-06-11 10:33:20 -07:00
Ken Thompson
0b3093f0a5 debugging to get fmt to run
SVN=122046
2008-06-10 21:29:57 -07:00