- 24 Apr, 2009 5 commits
-
-
Ken Thompson authored
as a new name in a later declaration (bug 144) R=r OCL=27850 CL=27850
-
Robert Griesemer authored
(no progress in presence of syntax errors) - end parsing early if source doesn't start proper package clause R=iant DELTA=18 (7 added, 6 deleted, 5 changed) OCL=27840 CL=27842
-
Robert Griesemer authored
- submitted per discussion w/ ken TBR=ken DELTA=25 (25 added, 0 deleted, 0 changed) OCL=27824 CL=27826
-
Robert Griesemer authored
- minor bug fixes in pretty, godoc - first cut at template-driven printing of ast TBR=r OCL=27825 CL=27825
-
Ben Eitzen authored
APPROVED=ken OCL=27811 CL=27823
-
- 23 Apr, 2009 1 commit
-
-
Robert Griesemer authored
R=iant DELTA=1 (0 added, 0 deleted, 1 changed) OCL=27801 CL=27806
-
- 22 Apr, 2009 11 commits
-
-
Rob Pike authored
fix a couple of comments TBR=rsc OCL=27716 CL=27716
-
Rob Pike authored
if the name contains a metacharacter, use regexp matching; otherwise require strict equality. now godoc flag '.*Var' can give you all the FooVar functions. R=gri DELTA=19 (19 added, 0 deleted, 0 changed) OCL=27711 CL=27713
-
Rob Pike authored
.or works in .repeated so remove the comment. the bug was in the template: .section executes iff the field is non-empty. R=gri DELTA=13 (6 added, 7 deleted, 0 changed) OCL=27710 CL=27712
-
David Symonds authored
as a regression test for the fix made in s2/27706. R=r APPROVED=r DELTA=14 (13 added, 0 deleted, 1 changed) OCL=27707 CL=27709
-
David Symonds authored
R=r APPROVED=r DELTA=6 (0 added, 5 deleted, 1 changed) OCL=27708 CL=27708
-
Ken Thompson authored
lv context for some [] operations calling implicit(*map) before walk. R=r OCL=27706 CL=27706
-
Ken Thompson authored
by a shorter operand. the bits in the difference were not cheared. R=r OCL=27705 CL=27705
-
Robert Griesemer authored
- delete utility files which contained functionality that is now elsewhere (or saved the files away for now) - cleanup Makefile (remove unnecessary deps) - minor adjustments to godoc, fixed a couple of bugs - make pretty.go self-contained TBR=r DELTA=625 (81 added, 510 deleted, 34 changed) OCL=27700 CL=27702
-
David Symonds authored
R=r APPROVED=r DELTA=8 (3 added, 1 deleted, 4 changed) OCL=27699 CL=27701
-
Rob Pike authored
R=dsymonds DELTA=58 (26 added, 32 deleted, 0 changed) OCL=27698 CL=27698
-
Ken Thompson authored
map indexing - bug 143 R=r OCL=27695 CL=27695
-
- 21 Apr, 2009 9 commits
-
-
David Symonds authored
Also it should be more testable, as there's less global state. R=r APPROVED=r DELTA=113 (38 added, 12 deleted, 63 changed) OCL=27653 CL=27694
-
Robert Griesemer authored
R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=27687 CL=27689
-
Robert Griesemer authored
R=r DELTA=6 (0 added, 0 deleted, 6 changed) OCL=27686 CL=27688
-
Robert Griesemer authored
- removed some constants from public interface R=r DELTA=375 (238 added, 14 deleted, 123 changed) OCL=27636 CL=27668
-
Rob Pike authored
R=dsymonds DELTA=6 (6 added, 0 deleted, 0 changed) OCL=27654 CL=27654
-
David Symonds authored
R=r APPROVED=r DELTA=170 (136 added, 6 deleted, 28 changed) OCL=27628 CL=27652
-
David Symonds authored
R=r APPROVED=r DELTA=26 (26 added, 0 deleted, 0 changed) OCL=27651 CL=27651
-
Rob Pike authored
- separate parsing from execution - rearrange code for organizational clarity - provide execution errors and parse-time errors - implement .or for repeated TBR=rsc OCL=27650 CL=27650
-
David Symonds authored
R=r APPROVED=r DELTA=598 (330 added, 266 deleted, 2 changed) OCL=27627 CL=27649
-
- 20 Apr, 2009 10 commits
-
-
Robert Griesemer authored
- removed closed, resolved, or off-the-table items - consolidated remaining items - no changes to the spec R=r DELTA=116 (1 added, 102 deleted, 13 changed) OCL=27596 CL=27640
-
Robert Griesemer authored
R=r DELTA=1 (1 added, 0 deleted, 0 changed) OCL=27633 CL=27639
-
David Symonds authored
R=r APPROVED=r DELTA=3 (1 added, 0 deleted, 2 changed) OCL=27624 CL=27626
-
David Symonds authored
Imagine your var has a value of zero. If you have a goroutine calling Set(5), and another calling Increment(+1), then you only want one of these outcomes: - Set completes first, and then Increment occurs => 6 - Increment completes first, and then Set occurs => 5 However, you could get a sequence: - read (for Increment) 0 - set (for Set) 5 - write (for Increment) 1 This results in a value of 1, which is undesirable. Kudos to dnadasi for catching this. R=r APPROVED=r DELTA=3 (3 added, 0 deleted, 0 changed) OCL=27625 CL=27625
-
David Symonds authored
Fix a couple of style mistakes. R=r,rsc APPROVED=r DELTA=34 (30 added, 1 deleted, 3 changed) OCL=27623 CL=27623
-
David Symonds authored
This handles integer-valued vars in a singleton struct, and exports functions for incrementing, setting and getting those vars, as well as rendering all the vars in a standard format. Demonstrate the use of the exvar package in the http/triv server. R=dcross,r APPROVED=r DELTA=122 (122 added, 0 deleted, 0 changed) OCL=27617 CL=27622
-
Rob Pike authored
R=ken OCL=27621 CL=27621
-
Rob Pike authored
R=ken OCL=27620 CL=27620
-
Rob Pike authored
R=gri DELTA=15 (0 added, 0 deleted, 15 changed) OCL=27619 CL=27619
-
Rob Pike authored
R=iant,gri DELTA=14 (14 added, 0 deleted, 0 changed) OCL=27615 CL=27618
-
- 19 Apr, 2009 1 commit
-
-
Rob Pike authored
R=ken DELTA=71 (71 added, 0 deleted, 0 changed) OCL=27616 CL=27616
-
- 18 Apr, 2009 3 commits
-
-
Rob Pike authored
R=gri DELTA=22 (5 added, 0 deleted, 17 changed) OCL=27608 CL=27614
-
Ken Thompson authored
exact spec: a) must be a multi-assignment w := b) a proper subset of the lhs can be declared in same block with the same type with no "redeclaration" error R=r OCL=27610 CL=27610
-
Rob Pike authored
this allows gotest to find the locally built package when doing make gotest without this option, one would have to say make install gotest which kinda defeats the purpose based on discussions with rsc. R=ken,rsc DELTA=12 (10 added, 1 deleted, 1 changed) OCL=27606 CL=27606
-