Skip to content

Commit da8d7c2

Browse files
committed
Cleanup obsolete options in CodeGen.
1 parent 4af9ff5 commit da8d7c2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/compiler/scala/tools/cmd/gen/Codegen.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object Codegen {
2323
return println (CodegenSpec.helpMsg)
2424

2525
val out = outDir getOrElse { return println("--out is required.") }
26-
val all = genall || (!anyvals && !products)
26+
val all = genall || !anyvals
2727

2828
echo("Generating sources into " + out)
2929

src/compiler/scala/tools/cmd/gen/CodegenSpec.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ trait CodegenSpec extends Spec with Meta.StdOpts with Interpolation {
1414

1515
help("Usage: codegen [<options>]")
1616

17-
// val inDir = "in" / "directory containing templates" --^ ExistingDir
1817
val outDir = "out" / "directory for generated files" --^ ExistingDir
19-
// val install = "install" / "write source files directly to src/library/scala"
2018
val anyvals = "anyvals" / "generate sources for AnyVal types" --?
21-
val products = "products" / "generate sources for ProductN, FunctionN, etc." --?
2219
val genall = "all" / "generate sources for everything" --?
23-
val stamp = "stamp" / "add a timestamp to the generated files" --?
2420
}
2521

2622
object CodegenSpec extends CodegenSpec with Reference {

0 commit comments

Comments
 (0)