Move func WuffsRoot to package generate

This commit is contained in:
Nigel Tao committed 2017-12-28 11:02:49 +11:00
1 parent f5c6204f09
commit d92e90d4f0
4 files changed
+35 -20

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ import (
"sort"
"strings"
cf "github.com/google/wuffs/cmd/commonflags"
"github.com/google/wuffs/lang/generate"
)
var commands = []struct {
@@ -63,7 +63,7 @@ func main1() error {
flag.Usage = usage
flag.Parse()
wuffsRoot, err := cf.WuffsRoot()
wuffsRoot, err := generate.WuffsRoot()
if err != nil {
return err
}