Rob Pike
f436ade2fd
update tests
...
R=gri
OCL=13526
CL=13526
2008-07-28 16:08:38 -07:00
Ken Thompson
b2d9020242
len now takes an expression
...
R=r
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=13523
CL=13523
2008-07-28 13:54:58 -07:00
Rob Pike
d302244c6c
add lstat
...
clean up some code
fix comments
add paramter names to interface
R=ken
OCL=13521
CL=13521
2008-07-28 13:07:58 -07:00
Robert Griesemer
4a9b4e6604
- parameters must be named
...
R=r
OCL=13520
CL=13520
2008-07-28 12:08:06 -07:00
Rob Pike
9c8f48bd0e
use real select
...
R=ken
OCL=13519
CL=13519
2008-07-28 12:03:56 -07:00
Rob Pike
3835e01d97
print tracebacks for all goroutines, not just the crashing one
...
R=ken
OCL=13518
CL=13518
2008-07-28 11:29:41 -07:00
Rob Pike
ea0569026c
update tests
...
R=gri
OCL=13516
CL=13516
2008-07-28 10:22:49 -07:00
Rob Pike
c1736ed6be
update golden
...
R=gri
OCL=13515
CL=13515
2008-07-28 09:57:43 -07:00
Rob Pike
6bff372594
update tests
...
R=ken
OCL=13507
CL=13507
2008-07-27 13:50:54 -07:00
Rob Pike
8fda2e4083
really fix it this time
...
R=ken
OCL=13506
CL=13506
2008-07-27 13:32:33 -07:00
Rob Pike
8a09c131cc
code had syntax error masking real bug
...
R=ken
OCL=13505
CL=13505
2008-07-27 13:30:53 -07:00
Ken Thompson
b1abcc195d
random bug fixes
...
R=r
DELTA=18 (6 added, 1 deleted, 11 changed)
OCL=13504
CL=13504
2008-07-27 13:09:15 -07:00
Ken Thompson
bd397d2f9b
select
...
R=r
DELTA=29 (27 added, 1 deleted, 1 changed)
OCL=13503
CL=13503
2008-07-27 11:42:52 -07:00
Rob Pike
eccea1980d
add fstat, stat
...
R=ken
OCL=13497
CL=13497
2008-07-26 16:22:14 -07:00
Rob Pike
20a02661d9
beginnings of a low-level syscall library
...
R=ken
OCL=13483
CL=13496
2008-07-26 14:49:21 -07:00
Ken Thompson
120827284e
select/chan
...
R=r
DELTA=517 (137 added, 98 deleted, 282 changed)
OCL=13495
CL=13495
2008-07-26 14:21:21 -07:00
Ken Thompson
949ab5c7ff
select
...
R=r
APPROVED=r
DELTA=41 (24 added, 13 deleted, 4 changed)
OCL=13480
CL=13480
2008-07-25 17:03:27 -07:00
Ken Thompson
e963cba8a1
select
...
R=r
APPROVED=r
DELTA=147 (94 added, 14 deleted, 39 changed)
OCL=13477
CL=13477
2008-07-25 15:55:12 -07:00
Rob Pike
756c63cd02
bug: compiler crash on select receive without variable.
...
R=gri
OCL=13470
CL=13470
2008-07-25 12:49:36 -07:00
Rob Pike
1fc8e6f74a
update tests
...
R=gri
OCL=13469
CL=13469
2008-07-25 12:20:14 -07:00
Ken Thompson
ece3e57c85
read select
...
R=r
APPROVED=r
DELTA=120 (108 added, 0 deleted, 12 changed)
OCL=13468
CL=13468
2008-07-25 11:58:26 -07:00
Robert Griesemer
5fc7919147
Experiments with "export":
...
Allow "export" keyword in front of a declaration. Semantics:
export *top-level* identifiers declared (but not the fields
of a struct type for instance).
R=r
OCL=13464
CL=13464
2008-07-25 11:27:13 -07:00
Robert Griesemer
cf4c37cac3
- more work on SimpleStat production
...
R=r
OCL=13461
CL=13461
2008-07-25 09:35:03 -07:00
Rob Pike
b4902c5f40
fix ordering problem: flag depends on fmt
...
R=gri
OCL=13442
CL=13442
2008-07-24 17:01:09 -07:00
Robert Griesemer
f03deb339a
- fixed several parser issues
...
R=r
OCL=13441
CL=13441
2008-07-24 17:00:58 -07:00
Ken Thompson
cb9b1038db
select
...
R=r
APPROVED=r
DELTA=638 (433 added, 21 deleted, 184 changed)
OCL=13426
CL=13438
2008-07-24 15:57:30 -07:00
Robert Griesemer
485d1bb3ed
- filed bug: label identifiers should not be allowed to match
...
other identifiers in the same scope.
R=r
OCL=13431
CL=13431
2008-07-24 13:36:18 -07:00
Robert Griesemer
d544ddb555
- filed bug: label names in different scopes should not conflict
...
R=r
OCL=13430
CL=13430
2008-07-24 13:30:49 -07:00
Rob Pike
7693409677
add usage message
...
R=gri
OCL=13423
CL=13423
2008-07-24 10:38:22 -07:00
Rob Pike
ac0dd5ae52
Add a flags package.
...
R=gri
OCL=13399
CL=13399
2008-07-23 20:02:54 -07:00
Rob Pike
5a30b5b8a9
new bug: x, ok = t.m[i] doesn't compile
...
R=ken
OCL=13395
CL=13395
2008-07-23 18:11:17 -07:00
Robert Griesemer
fda1d16935
- parsing support for composite literals
...
R=r
OCL=13394
CL=13394
2008-07-23 16:59:06 -07:00
Robert Griesemer
b0ada5ddf7
- more work on semantic checks - not yet enabled by default
...
R=r
OCL=13391
CL=13391
2008-07-23 16:04:11 -07:00
Rob Pike
84c8d85fe6
slices and string/array concatenation
...
OCL=13382
CL=13382
2008-07-23 11:22:30 -07:00
Rob Pike
f4dcf51846
document initialization
...
OCL=13369
CL=13369
2008-07-22 17:53:53 -07:00
Rob Pike
35b7a174e6
maintain __.PKGDEF files in archives if the 'g' flag is given
...
use this facility to simplify the math lib-building script
R=ken
DELTA=183 (158 added, 16 deleted, 9 changed)
OCL=13364
CL=13366
2008-07-22 15:57:46 -07:00
Rob Pike
febbf82e8d
fix some bad spaces
...
OCL=13363
CL=13363
2008-07-22 15:25:09 -07:00
Rob Pike
220edc48da
Expand section on compound literals.
...
R=ken,gri
DELTA=31 (22 added, 0 deleted, 9 changed)
OCL=13351
CL=13362
2008-07-22 15:23:06 -07:00
Rob Pike
c1f5eda7a2
change date
...
OCL=13331
CL=13331
2008-07-21 18:06:39 -07:00
Rob Pike
05caa7f820
help management of empty pkg and lib directories in perforce
...
R=gri
DELTA=4 (4 added, 0 deleted, 0 changed)
OCL=13328
CL=13328
2008-07-21 17:10:49 -07:00
Rob Pike
777ee7163b
map delete
...
SVN=128258
2008-07-21 16:18:04 -07:00
Rob Pike
820f223af9
compiler crash in string('a', 'b', '\n');
...
SVN=128253
2008-07-21 15:41:39 -07:00
Ken Thompson
b78676a49d
start of select
...
random bugs fixed
SVN=128149
2008-07-20 20:13:07 -07:00
Ken Thompson
963753d3f9
tweaks to init
...
rand using init
SVN=128142
2008-07-20 13:33:45 -07:00
Ken Thompson
f24f8ffae0
init
...
SVN=128128
2008-07-19 18:39:12 -07:00
Rob Pike
15d472dd53
add an eval function (written by ken)
...
SVN=128122
2008-07-19 15:11:25 -07:00
Rob Pike
85c85e2b3f
test update
...
SVN=128120
2008-07-19 15:08:56 -07:00
Rob Pike
acf3d59847
update fmt to use some initialization
...
tweak ar so the pkgdef file doesn't cause it not to generate a symbol table
SVN=128119
2008-07-19 14:52:01 -07:00
Ken Thompson
c92aff2de7
init
...
SVN=128118
2008-07-19 14:37:02 -07:00
Ken Thompson
90da636c15
init filename vs pkgname
...
SVN=128117
2008-07-19 14:20:46 -07:00