convert tests; nothing interesting.

R=r
OCL=23012
CL=23014
This commit is contained in:
Russ Cox 2009-01-16 16:12:14 -08:00
parent 9f4a27cbe6
commit f48cbfdf56
82 changed files with 292 additions and 296 deletions

View file

@ -6,23 +6,23 @@
package main
type Inst interface {
export type Inst interface {
Next() *Inst;
}
type Regexp struct {
export type Regexp struct {
code []Inst;
start Inst;
}
type Start struct {
export type Start struct {
foo *Inst;
}
func (start *Start) Next() *Inst { return nil }
func AddInst(Inst) *Inst {
export func AddInst(Inst) *Inst {
print("ok in addinst\n");
return nil
}