1
0
mirror of https://github.com/golang/go synced 2024-10-04 00:21:20 -06:00
The Go programming language
Go to file
Russ Cox b8babed7c2 new import/export format
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
2008-10-03 16:15:55 -07:00
doc - precise scope rules 2008-10-03 14:04:28 -07:00
include acid fixes etc. still not perfect. 2008-09-16 12:33:00 -07:00
lib help management of empty pkg and lib directories in perforce 2008-07-21 17:10:49 -07:00
pkg help management of empty pkg and lib directories in perforce 2008-07-21 17:10:49 -07:00
src new import/export format 2008-10-03 16:15:55 -07:00
test new import/export format 2008-10-03 16:15:55 -07:00
usr/gri - fixed Makefile, added more tests 2008-10-01 14:31:44 -07:00