Implemented package specific structs
This commit is contained in:
parent
d71bbd51cf
commit
8357aefc01
15 changed files with 121 additions and 78 deletions
|
@ -23,8 +23,8 @@ func New(files ...string) *Build {
|
|||
|
||||
// Run compiles the input files.
|
||||
func (build *Build) Run() (compiler.Result, error) {
|
||||
files, functions, types, errors := scanner.Scan(build.Files)
|
||||
return compiler.Compile(files, functions, types, errors)
|
||||
files, functions, structs, errors := scanner.Scan(build.Files)
|
||||
return compiler.Compile(files, functions, structs, errors)
|
||||
}
|
||||
|
||||
// Executable returns the path to the executable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue