54c54
< def __init__(self, protocol, **kwargs):
---
> def __init__(self, protocol, verbose=False):
56a57
> self.verbose = verbose
58a60,63
> def currentLocation(self):
> return util.Location(self.current_source, self.current_line,
> no_warning=not self.verbose)
>
71c76
< def _load(self, *filenames):
---
> def load(self, filenames):
79d83
< yield f
88,101c92
< def load(self, *filenames, **kwargs):
< verbose = kwargs.pop("verbose", False)
< if kwargs:
< raise TypeError
<
< gen = self._load(*filenames)
< if verbose:
< return gen
< else:
< # Run out the generator if we don't want the verbosity
< for foo in gen:
< pass
<
< def findMachines(self):
---
> def process(self):
105d95
< def generate(self):
110d99
< util.makeDir(code_path)
113,115c102,103
< def writeHTMLFiles(self, code_path):
< util.makeDir(code_path)
< self.symtab.writeHTMLFiles(code_path)
---
> def writeHTMLFiles(self, html_path):
> self.symtab.writeHTMLFiles(html_path)