diff options
author | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
commit | 1ea895d9a458c9e4a91993924fcd39ce7f1dcabe (patch) | |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 /src/lib/regexp/regexp.go | |
parent | 206ea17d5fe6ad6d6492afe73ec2d72ce399a3fd (diff) | |
download | golang-1ea895d9a458c9e4a91993924fcd39ce7f1dcabe.tar.gz |
move things out of sys into os and runtime
R=r
OCL=28569
CL=28573
Diffstat (limited to 'src/lib/regexp/regexp.go')
-rw-r--r-- | src/lib/regexp/regexp.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/regexp/regexp.go b/src/lib/regexp/regexp.go index 135dcc368..8cbd38035 100644 --- a/src/lib/regexp/regexp.go +++ b/src/lib/regexp/regexp.go @@ -25,6 +25,7 @@ package regexp import ( "container/vector"; "os"; + "runtime"; "utf8"; ) @@ -236,7 +237,7 @@ func (nop *_Nop) print() { print("nop") } func (re *Regexp) setError(err os.Error) { re.error = err; re.ch <- re; - sys.Goexit(); + runtime.Goexit(); } func (re *Regexp) add(i instr) instr { |