]> Cypherpunks repositories - gostls13.git/commit
Implement var declarations. Variables, constants, and types now carry
authorAustin Clements <aclements@csail.mit.edu>
Fri, 31 Jul 2009 22:51:27 +0000 (15:51 -0700)
committerAustin Clements <aclements@csail.mit.edu>
Fri, 31 Jul 2009 22:51:27 +0000 (15:51 -0700)
commitd11173d452adaacb5042232abc03251fe02793c6
tree2ca667bcf2c1810ee29d4ed247638a8bddf6a131
parent9f2f8eadb62a9208a7c07746108db30a51228e87
Implement var declarations.  Variables, constants, and types now carry
the position where they were defined so I can produce good
error messages on redefinitions.

R=rsc
APPROVED=rsc
DELTA=204  (126 added, 13 deleted, 65 changed)
OCL=32599
CL=32605
usr/austin/eval/decls.go
usr/austin/eval/scope.go
usr/austin/eval/stmt.go
usr/austin/eval/type.go
usr/austin/eval/value.go