Age | Commit message (Collapse) | Author | Files | Lines |
|
* rename init functions
R=ken
OCL=23122
CL=23126
|
|
R=ken
OCL=22999
CL=22999
|
|
R=ken
OCL=22996
CL=22996
|
|
package main
var x int
type x struct { a int }
R=ken
OCL=22903
CL=22903
|
|
make package local the default.
warn about name case not matching export keyword.
R=ken
OCL=22881
CL=22886
|
|
remove TPTR wrapper around TMAP, TCHAN, TSTRING.
R=ken
OCL=22406
CL=22409
|
|
R=ken
OCL=22370
CL=22372
|
|
also, after
func g() (int, int)
func f(int, int)
allow
f(g())
and
func h() (int, int) { return g() }
R=ken
DELTA=356 (252 added, 26 deleted, 78 changed)
OCL=22319
CL=22325
|
|
R=r
OCL=21564
CL=21564
|
|
(they must be pointers)
R=r
OCL=21009
CL=21009
|
|
file in which they occur. avoids duplicate
trampoline generation across multiple files.
R=ken
OCL=20976
CL=20980
|
|
R=r
OCL=20906
CL=20906
|
|
R=r
OCL=20879
CL=20879
|
|
R=r
OCL=20667
CL=20667
|
|
R=r
OCL=20506
CL=20506
|
|
R=r
DELTA=129 (81 added, 0 deleted, 48 changed)
OCL=19283
CL=19291
|
|
* check for uncomputed struct offsets
* distinguish function structs from ordinary structs
* make sure function structs are not examined in isolation
R=ken
OCL=19005
CL=19005
|
|
to distinguish not computed (0) vs trivial (1).
add missing ullmancalc on function args.
R=ken
OCL=18711
CL=18711
|
|
sigi and sigt:
sys·sigi_inter -> sigi·inter
sys·sigt_int -> sigt·int
Package·sigt_Type -> sigt·Package.Type
local type T in file x.go T_x -> T·x
second one T_x_1 -> T·x·1
method names M on T T_M -> T·M
correctly handle local embedded types
init functions are the only place left that use underscores
R=ken
OCL=18377
CL=18377
|
|
R=ken
OCL=18176
CL=18176
|
|
R=ken
OCL=17819
CL=17819
|
|
*** Reason for rollback ***
now it's comparing function parameter names...
*** Original change description ***
fix method function type compare bug
R=ken
OCL=17816
CL=17816
|
|
R=ken
OCL=17815
CL=17815
|
|
R=ken
OCL=17679
CL=17679
|
|
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
DELTA=44 (10 added, 9 deleted, 25 changed)
OCL=17502
CL=17502
|
|
R=r
OCL=17437
CL=17437
|
|
R=ken
OCL=17394
CL=17394
|
|
R=ken
OCL=17320
CL=17320
|
|
R=r
OCL=17063
CL=17063
|
|
R=ken
OCL=16651
CL=16653
|
|
type T struct
export type T struct { a int }
was not exporting T
R=ken
OCL=16650
CL=16650
|
|
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=ken,r
DELTA=86 (72 added, 9 deleted, 5 changed)
OCL=16488
CL=16488
|
|
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
|
|
this CL passes the tests, but should
be considered unstable
R=r
OCL=16390
CL=16390
|
|
R=ken
OCL=16219
CL=16219
|
|
R=ken
OCL=16218
CL=16218
|
|
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=16068
CL=16068
|
|
R=r
OCL=16044
CL=16044
|
|
R=r
OCL=16021
CL=16023
|
|
R=r
OCL=15375
CL=15375
|
|
-- 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
|