summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2003-12-08 09:41:21 +0000
committermihaylov <mihaylov@epfl.ch>2003-12-08 09:41:21 +0000
commit17b8ac4bf4ed723c1606a6b3419870fd3acfe1bb (patch)
treecc1fc1d79c7ac58ad9abc4b92ba1c9c8649cea06 /sources
parentaccaee1ce5b4490374cdb192afaab46325984817 (diff)
downloadscala-17b8ac4bf4ed723c1606a6b3419870fd3acfe1bb.tar.gz
scala-17b8ac4bf4ed723c1606a6b3419870fd3acfe1bb.tar.bz2
scala-17b8ac4bf4ed723c1606a6b3419870fd3acfe1bb.zip
- added a '-r' option to specify the assemblies...
- added a '-r' option to specify the assemblies referenced by the source program
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/CompilerCommand.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/scalac/CompilerCommand.java b/sources/scalac/CompilerCommand.java
index b67cf14b26..7d61dd8acf 100644
--- a/sources/scalac/CompilerCommand.java
+++ b/sources/scalac/CompilerCommand.java
@@ -55,6 +55,7 @@ public class CompilerCommand extends CommandParser {
public final StringOptionParser bootclasspath;
public final StringOptionParser extdirs;
public final StringOptionParser outpath;
+ public final StringOptionParser assemrefs;
public final ChoiceOptionParser target;
public final BooleanOptionParser noimports;
public final BooleanOptionParser nopredefs;
@@ -159,6 +160,10 @@ public class CompilerCommand extends CommandParser {
"d", "Specify where to place generated class files",
"directory", "."),
+ this.assemrefs = new StringOptionParser(this,
+ "r", "Assemblies referenced by the source program",
+ "assembly files", "."),
+
this.target = new ChoiceOptionParser(this,
"target", "Specify which bakend to use (jvm, msil)",
"target", Global.TARGETS, Global.TARGET_JVM),