1
0
mirror of https://github.com/golang/go synced 2024-11-26 00:57:56 -07:00

- adjustments to match slightly changed scanner interface

- more comments on parser, various cleanups

TBR=r
OCL=26813
CL=26813
This commit is contained in:
Robert Griesemer 2009-03-26 22:16:06 -07:00
parent 3f9da82904
commit 34050ca8de
2 changed files with 689 additions and 686 deletions

View File

@ -101,7 +101,7 @@ func Compile(src_file string, flags *Flags) (*ast.Package, ErrorList) {
if flags.Verbose {
pflags |= parser.Trace;
}
prog := parser.Parse(&scanner, &err, parser.ParseEntirePackage, pflags);
prog, nerrs := parser.Parse(&scanner, &err, parser.ParseEntirePackage, pflags);
if err.errors.Len() == 0 {
TypeChecker.CheckProgram(&err, prog);

File diff suppressed because it is too large Load Diff