diff options
| author | Robert Griesemer <gri@golang.org> | 2009-03-05 17:15:36 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-03-05 17:15:36 -0800 |
| commit | 1b3f18942be33faae1b5ba467b58eceb54c8026b (patch) | |
| tree | 073148e3f2f143f1ab9b5a9c54dca5796786ca84 /usr/gri/pretty/compilation.go | |
| parent | f518d0f3145781450b5a67afbb9643d8898ed499 (diff) | |
| download | golang-1b3f18942be33faae1b5ba467b58eceb54c8026b.tar.gz | |
Lots of cleanups in prep. for checking in parser and ast into lib:
- removed any symbol table stuff
- some interface cleanup
- removed lot's of dead wood
- half the support for type switches (simple form)
- name capitalization
Several rounds to come.
R=r
OCL=25797
CL=25797
Diffstat (limited to 'usr/gri/pretty/compilation.go')
| -rw-r--r-- | usr/gri/pretty/compilation.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/gri/pretty/compilation.go b/usr/gri/pretty/compilation.go index 74b589e40..bec5d0703 100644 --- a/usr/gri/pretty/compilation.go +++ b/usr/gri/pretty/compilation.go @@ -27,7 +27,6 @@ func assert(b bool) { type Flags struct { Verbose bool; - Sixg bool; Deps bool; Columns bool; } @@ -124,7 +123,7 @@ func Compile(src_file string, flags *Flags) (*AST.Program, int) { scanner.Init(src, &err, true); var parser Parser.Parser; - parser.Open(&scanner, &err, flags.Verbose, flags.Sixg, flags.Deps); + parser.Open(&scanner, &err, flags.Verbose); prog := parser.ParseProgram(); @@ -204,6 +203,7 @@ func addDeps(globalset map [string] bool, wset *vector.Vector, src_file string, func ComputeDeps(src_file string, flags *Flags) { + panic("dependency printing currently disabled"); globalset := make(map [string] bool); wset := vector.New(0); wset.Push(Utils.TrimExt(src_file, ".go")); |
