Age | Commit message (Collapse) | Author | Files | Lines |
|
R=r
OCL=17601
CL=17601
|
|
R=r
OCL=17572
CL=17572
|
|
* print int as int, not P.int
* write type info for non-exported types
in its own new section.
ar:
skip over rest of line after $$
R=ken
OCL=17568
CL=17568
|
|
R=r
OCL=17437
CL=17437
|
|
R=ken
OCL=17320
CL=17320
|
|
R=ken
OCL=17241
CL=17241
|
|
global signatures for basic types
R=r
OCL=17238
CL=17240
|
|
R=r
OCL=17063
CL=17063
|
|
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
|
|
R=r
OCL=16494
CL=16494
|
|
R=ken
OCL=16449
CL=16466
|
|
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
|
|
R=r
OCL=16462
CL=16462
|
|
this CL passes the tests, but should
be considered unstable
R=r
OCL=16390
CL=16390
|
|
prints that insert spaces and new line
R=r
OCL=16370
CL=16370
|
|
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
|
|
R=r
OCL=16163
CL=16163
|
|
R=r
OCL=16068
CL=16068
|
|
export.c:
- only expose explicitly exported types to importer
- fix behind your back
go.h:
- add deep() prototype (fixes 64-bit linux crash on time.go)
go.y:
- add a new syntax error case
walk.c:
- allow a,b = f() where f is func ptr (fixes bug088)
R=ken
OCL=15617
CL=15630
|
|
R=r
OCL=15627
CL=15627
|
|
things to break. hopefully all fixed
now.
R=r
OCL=15597
CL=15597
|
|
with new select operator
R=r
OCL=15418
CL=15418
|
|
R=r
OCL=15327
CL=15327
|
|
-- but only *struct tested
R=r
OCL=15326
CL=15326
|
|
*** Reason for rollback ***
<enter reason for rollback>
*** Original change description ***
correct signal name thru package rename
R=r
OCL=15313
CL=15313
|
|
R=r
OCL=15312
CL=15312
|
|
R=r
OCL=15119
CL=15119
|
|
R=r
OCL=14810
CL=14810
|
|
R=r
OCL=14759
CL=14759
|
|
R=r
OCL=14756
CL=14756
|
|
R=r
OCL=14732
CL=14732
|
|
R=r
OCL=14675
CL=14675
|
|
R=r
OCL=14634
CL=14634
|
|
R=r
OCL=14603
CL=14603
|
|
R=r
OCL=14143
CL=14143
|
|
R=r
OCL=14140
CL=14140
|
|
R=r
DELTA=138 (75 added, 12 deleted, 51 changed)
OCL=14129
CL=14131
|
|
R=r
DELTA=37 (31 added, 4 deleted, 2 changed)
OCL=14089
CL=14089
|
|
R=r
DELTA=149 (80 added, 62 deleted, 7 changed)
OCL=14029
CL=14029
|
|
R=r
DELTA=381 (142 added, 26 deleted, 213 changed)
OCL=14011
CL=14016
|
|
var, const and type declarations.
R=r
DELTA=49 (12 added, 28 deleted, 9 changed)
OCL=13791
CL=13791
|
|
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
|
|
R=r
APPROVED=r
DELTA=638 (433 added, 21 deleted, 184 changed)
OCL=13426
CL=13438
|
|
random bugs fixed
SVN=128149
|
|
SVN=128128
|
|
SVN=128115
|
|
SVN=128050
|
|
[]ptr bug
proc reuses old g* structures
differnt assignment of offsets to parameters
SVN=127888
|
|
SVN=127695
|
|
SVN=127678
|