diff --git a/cmd/puffs-c/genlib.go b/cmd/wuffs-c/genlib.go similarity index 100% rename from cmd/puffs-c/genlib.go rename to cmd/wuffs-c/genlib.go diff --git a/cmd/puffs-c/internal/cgen/base-header.h b/cmd/wuffs-c/internal/cgen/base-header.h similarity index 100% rename from cmd/puffs-c/internal/cgen/base-header.h rename to cmd/wuffs-c/internal/cgen/base-header.h diff --git a/cmd/puffs-c/internal/cgen/base-impl.h b/cmd/wuffs-c/internal/cgen/base-impl.h similarity index 100% rename from cmd/puffs-c/internal/cgen/base-impl.h rename to cmd/wuffs-c/internal/cgen/base-impl.h diff --git a/cmd/puffs-c/internal/cgen/cgen.go b/cmd/wuffs-c/internal/cgen/cgen.go similarity index 99% rename from cmd/puffs-c/internal/cgen/cgen.go rename to cmd/wuffs-c/internal/cgen/cgen.go index dcc46795..3bedb076 100644 --- a/cmd/puffs-c/internal/cgen/cgen.go +++ b/cmd/wuffs-c/internal/cgen/cgen.go @@ -214,7 +214,7 @@ func (g *gen) genHeader(b *buffer) error { includeGuard := "PUFFS_" + strings.ToUpper(g.pkgName) + "_H" b.printf("#ifndef %s\n#define %s\n\n", includeGuard, includeGuard) - b.printf("// Code generated by puffs-c. DO NOT EDIT.\n\n") + b.printf("// Code generated by wuffs-c. DO NOT EDIT.\n\n") b.writes(baseHeader) b.writes("\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n") diff --git a/cmd/puffs-c/internal/cgen/data.go b/cmd/wuffs-c/internal/cgen/data.go similarity index 100% rename from cmd/puffs-c/internal/cgen/data.go rename to cmd/wuffs-c/internal/cgen/data.go diff --git a/cmd/puffs-c/internal/cgen/expr.go b/cmd/wuffs-c/internal/cgen/expr.go similarity index 100% rename from cmd/puffs-c/internal/cgen/expr.go rename to cmd/wuffs-c/internal/cgen/expr.go diff --git a/cmd/puffs-c/internal/cgen/func.go b/cmd/wuffs-c/internal/cgen/func.go similarity index 100% rename from cmd/puffs-c/internal/cgen/func.go rename to cmd/wuffs-c/internal/cgen/func.go diff --git a/cmd/puffs-c/internal/cgen/gen.go b/cmd/wuffs-c/internal/cgen/gen.go similarity index 100% rename from cmd/puffs-c/internal/cgen/gen.go rename to cmd/wuffs-c/internal/cgen/gen.go diff --git a/cmd/puffs-c/internal/cgen/statement.go b/cmd/wuffs-c/internal/cgen/statement.go similarity index 100% rename from cmd/puffs-c/internal/cgen/statement.go rename to cmd/wuffs-c/internal/cgen/statement.go diff --git a/cmd/puffs-c/internal/cgen/templates.h b/cmd/wuffs-c/internal/cgen/templates.h similarity index 100% rename from cmd/puffs-c/internal/cgen/templates.h rename to cmd/wuffs-c/internal/cgen/templates.h diff --git a/cmd/puffs-c/internal/cgen/var.go b/cmd/wuffs-c/internal/cgen/var.go similarity index 100% rename from cmd/puffs-c/internal/cgen/var.go rename to cmd/wuffs-c/internal/cgen/var.go diff --git a/cmd/puffs-c/main.go b/cmd/wuffs-c/main.go similarity index 90% rename from cmd/puffs-c/main.go rename to cmd/wuffs-c/main.go index 444d0d0b..f3d1efa6 100644 --- a/cmd/puffs-c/main.go +++ b/cmd/wuffs-c/main.go @@ -12,14 +12,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -// puffs-c handles the C language specific parts of the puffs tool. +// wuffs-c handles the C language specific parts of the wuffs tool. package main import ( "fmt" "os" - "github.com/google/wuffs/cmd/puffs-c/internal/cgen" + "github.com/google/wuffs/cmd/wuffs-c/internal/cgen" ) func main() { diff --git a/cmd/puffs-c/test.go b/cmd/wuffs-c/test.go similarity index 98% rename from cmd/puffs-c/test.go rename to cmd/wuffs-c/test.go index 1aa3124d..4a531198 100644 --- a/cmd/puffs-c/test.go +++ b/cmd/wuffs-c/test.go @@ -72,7 +72,7 @@ func doBenchTest(args []string, bench bool) error { } func doBenchTest1(filename string, bench bool, ccompilers string, focus string, mimic bool, reps int) (failed bool, err error) { - workDir, err := ioutil.TempDir("", "puffs-c") + workDir, err := ioutil.TempDir("", "wuffs-c") if err != nil { return false, err } diff --git a/cmd/puffs/gen.go b/cmd/wuffs/gen.go similarity index 100% rename from cmd/puffs/gen.go rename to cmd/wuffs/gen.go diff --git a/cmd/puffs/main.go b/cmd/wuffs/main.go similarity index 100% rename from cmd/puffs/main.go rename to cmd/wuffs/main.go diff --git a/cmd/puffs/test.go b/cmd/wuffs/test.go similarity index 100% rename from cmd/puffs/test.go rename to cmd/wuffs/test.go diff --git a/cmd/puffsfmt/main.go b/cmd/wuffsfmt/main.go similarity index 100% rename from cmd/puffsfmt/main.go rename to cmd/wuffsfmt/main.go