This commit is contained in:
parent
e5baba175b
commit
df92f55df6
3 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,12 @@
|
|||
package compiler
|
||||
|
||||
import "git.urbach.dev/cli/q/src/scanner"
|
||||
import (
|
||||
"git.urbach.dev/cli/q/src/build"
|
||||
"git.urbach.dev/cli/q/src/scanner"
|
||||
)
|
||||
|
||||
// Compile waits for the scan to finish and compiles all functions.
|
||||
func Compile(scan scanner.Result) (Result, error) {
|
||||
func Compile(b *build.Build) (Result, error) {
|
||||
scanner.Scan(b)
|
||||
return Result{}, nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue