]> Cypherpunks repositories - gostls13.git/commit
make 6g constants behave as ken proposes. (i hope.)
authorRuss Cox <rsc@golang.org>
Fri, 13 Mar 2009 02:04:38 +0000 (19:04 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 13 Mar 2009 02:04:38 +0000 (19:04 -0700)
commit8f194bf5ff15e3f62ce02669bf48d54a6342260e
tree215ba82d2713550ef0ead44a627dd78579275bfa
parent9b5d82327b1498b74611d539f9812d3cce13cbc3
make 6g constants behave as ken proposes.  (i hope.)
various bug fixes and tests involving constants.

test/const1.go is the major new test case.

R=ken
OCL=26216
CL=26224
25 files changed:
src/cmd/6g/cgen.c
src/cmd/6g/gsubr.c
src/cmd/gc/const.c
src/cmd/gc/dcl.c
src/cmd/gc/export.c
src/cmd/gc/go.h
src/cmd/gc/go.y
src/cmd/gc/lex.c
src/cmd/gc/mparith1.c
src/cmd/gc/mparith2.c
src/cmd/gc/subr.c
src/cmd/gc/swt.c
src/cmd/gc/walk.c
src/lib/syscall/errstr_darwin.go
src/lib/syscall/errstr_linux.go
test/const.go
test/const1.go [new file with mode: 0644]
test/const2.go [new file with mode: 0644]
test/const3.go [new file with mode: 0644]
test/convert.go [new file with mode: 0644]
test/convlit.go
test/errchk
test/fixedbugs/bug090.go
test/fixedbugs/bug127.go
test/golden.out