]> Cypherpunks repositories - gostls13.git/commit
Make the statement compiler not use the AST visitor.
authorAustin Clements <aclements@csail.mit.edu>
Thu, 27 Aug 2009 18:21:52 +0000 (11:21 -0700)
committerAustin Clements <aclements@csail.mit.edu>
Thu, 27 Aug 2009 18:21:52 +0000 (11:21 -0700)
commitc0dd9f526bbf4a8cc21fe47b9476f2fde7c2d46e
tree684f202d8c590d14b188507a7ee1e9a08a930127
parent4b409289f6edac4b744d3589999dd5d3f5cf0f0e
Make the statement compiler not use the AST visitor.

In the process, I made error handling in the statement
compiler much saner.  Instead of separately tracking various
error flags with weird relations, I just track if any error
messages have been produced.

R=rsc
APPROVED=rsc
DELTA=308  (98 added, 135 deleted, 75 changed)
OCL=33870
CL=33961
usr/austin/eval/compiler.go
usr/austin/eval/expr.go
usr/austin/eval/stmt.go