- 08 Oct, 2008 3 commits
-
-
Robert Griesemer authored
the parser accepts a bit more then it should) R=r OCL=16694 CL=16694
-
Cary Hull authored
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=16688 CL=16690
-
Robert Griesemer authored
- forward decls for interface and struct types - complete & incomplete types - optional semicolons R=r DELTA=216 (95 added, 15 deleted, 106 changed) OCL=16465 CL=16687
-
- 07 Oct, 2008 7 commits
-
-
Russ Cox authored
R=ken OCL=16651 CL=16653
-
Russ Cox authored
R=gri,r OCL=16648 CL=16652
-
Russ Cox authored
type T struct export type T struct { a int } was not exporting T R=ken OCL=16650 CL=16650
-
Russ Cox authored
R=r DELTA=18 (18 added, 0 deleted, 0 changed) OCL=16639 CL=16647
-
Russ Cox authored
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. now that semicolons are in, uncomment forward declaration of interfaces R=ken DELTA=285 (124 added, 114 deleted, 47 changed) OCL=16638 CL=16646
-
Russ Cox authored
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
-
Rob Pike authored
R=rsc DELTA=7 (0 added, 0 deleted, 7 changed) OCL=16600 CL=16630
-
- 06 Oct, 2008 4 commits
-
-
Russ Cox authored
type T struct { next *T } and type T *struct { next T } are valid without needing forward declarations. add "type T struct" syntax for forward struct declarations. add "type T interface" syntax, but commented out (need to fix semicolons first) R=ken DELTA=452 (259 added, 115 deleted, 78 changed) OCL=16580 CL=16584
-
Rob Pike authored
R=gri DELTA=4 (0 added, 3 deleted, 1 changed) OCL=16565 CL=16579
-
Russ Cox authored
R=ken OCL=16550 CL=16550
-
Ian Lance Taylor authored
type definition. R=r DELTA=3 (0 added, 2 deleted, 1 changed) OCL=16537 CL=16545
-
- 05 Oct, 2008 3 commits
-
-
Rob Pike authored
R=rsc DELTA=87 (37 added, 50 deleted, 0 changed) OCL=16498 CL=16507
-
Russ Cox authored
R=r DELTA=7 (2 added, 2 deleted, 3 changed) OCL=16495 CL=16499
-
Ken Thompson authored
R=r OCL=16497 CL=16497
-
- 04 Oct, 2008 4 commits
-
-
Ken Thompson authored
R=r OCL=16494 CL=16494
-
Russ Cox authored
R=ken DELTA=2 (0 added, 0 deleted, 2 changed) OCL=16489 CL=16489
-
Russ Cox authored
R=ken,r DELTA=86 (72 added, 9 deleted, 5 changed) OCL=16488 CL=16488
-
Russ Cox authored
R=r DELTA=43 (43 added, 0 deleted, 0 changed) OCL=16468 CL=16475
-
- 03 Oct, 2008 7 commits
-
-
Russ Cox authored
R=ken OCL=16449 CL=16466
-
Russ Cox authored
package flag export type flag.Flag struct { name flag.string; usage flag.string; \ value flag.Value; next *flag.Flag } type flag.string string type flag.Value interface { AsBool () (? *flag.BoolValue); \ AsInt () (? *flag.IntValue); AsString () (? *flag.StringValue); \ IsBool () (? flag.bool); IsInt () (? flag.bool); IsString () (? flag.bool); \ Str () (? flag.string); ValidValue (str flag.string) (? flag.bool) } type flag.BoolValue struct { val flag.bool; p *flag.bool } type flag.IntValue struct { val flag.int64; p *flag.int64 } type flag.StringValue struct { val flag.string; p *flag.string } type flag.bool bool func (e *flag.StringValue) AsBool () (? *flag.BoolValue) func (e *flag.StringValue) AsInt () (? *flag.IntValue) ... the \ continuations are for this message, not real. changed delimiter for import from (( )) to $$ $$. replaced mksys.bash with mksys.c changed sys.go to use leading export, fake package name is now SYS not foop don't always require ; on forward func decls R=ken,r DELTA=1827 (446 added, 1083 deleted, 298 changed) OCL=16433 CL=16463
-
Ken Thompson authored
R=r OCL=16462 CL=16462
-
Rob Pike authored
R=rsc DELTA=32 (30 added, 0 deleted, 2 changed) OCL=16440 CL=16445
-
Robert Griesemer authored
- clarified naming of invisible fields - fixed syntax of expression statements R=r DELTA=70 (33 added, 4 deleted, 33 changed) OCL=16424 CL=16439
-
Rob Pike authored
Evaluation is done before communication starts. R=gri DELTA=19 (4 added, 1 deleted, 14 changed) OCL=16357 CL=16416
-
Ken Thompson authored
this CL passes the tests, but should be considered unstable R=r OCL=16390 CL=16390
-
- 02 Oct, 2008 7 commits
-
-
Ken Thompson authored
bug fix in named-return R=r OCL=16377 CL=16377
-
Ken Thompson authored
prints that insert spaces and new line R=r OCL=16370 CL=16370
-
Russ Cox authored
delete unused variables R=ken OCL=16360 CL=16360
-
Rob Pike authored
R=gri DELTA=18 (8 added, 2 deleted, 8 changed) OCL=16356 CL=16356
-
Ken Thompson authored
R=r OCL=16345 CL=16345
-
Robert Griesemer authored
- typename cannot refer to interface types - clarified syntax - added TODO re: type name issue with qualified identifiers Changed/fixed order of operators/keywords. R=r DELTA=10 (3 added, 0 deleted, 7 changed) OCL=16337 CL=16339
-
Ian Lance Taylor authored
invalid. The receiver type is not permitted to be a pointer type. Since 6g currently accepts it, this moves the test case back to the bugs directory. R=gri DELTA=22 (11 added, 11 deleted, 0 changed) OCL=16284 CL=16336
-
- 01 Oct, 2008 5 commits
-
-
Robert Griesemer authored
- fixed parsing of parameter lists (sigh) R=r DELTA=48 (22 added, 7 deleted, 19 changed) OCL=16319 CL=16321
-
Ken Thompson authored
var a,b int; R=r OCL=16318 CL=16318
-
Russ Cox authored
R=r DELTA=41 (41 added, 0 deleted, 0 changed) OCL=16290 CL=16293
-
Robert Griesemer authored
R=r OCL=16274 CL=16274
-
Robert Griesemer authored
- some scanner cleanup - new pretty-printed code can be compiled again (for some files) R=r OCL=16272 CL=16272
-