Gotgo now compiles and runs with Go1
Also fix remaining build issues with gotgo.
The Go commit "e35ee9761b", also at http://codereview.appspot.com/194098 changed the interface for the 'go/parser' interface. The "Parse*" family of functions (ParseExpr, ParseFile, ParseStmtList, etc.) now take an additional 'scope' parameter of type '*ast.Scope'. According to the documentation: If scope != nil, it is the immediately surrounding scope for the file (the package scope) and it is used to lookup and declare identifiers. When parsing multiple files belonging to a package, the same scope should be provided to all files. I don't think gotgo needs to supply this parameter, so I left it as 'nil' and this seemed to work. Signed-off-by: Dan Hackney <firstname.lastname@example.org>
to gotgo template way.
Tested-on: morland i686 GNU/Linux