diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-10-08 14:35:42 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-10-08 14:35:42 +0000 |
commit | dd8fbb7c36b6b93e97e10978a71f6fe2cd0faf43 (patch) | |
tree | 665738b5c35cf1372eff857488beb352206f8077 | |
parent | c4181f656d306a986549ef990a1f531313bee420 (diff) | |
download | scala-dd8fbb7c36b6b93e97e10978a71f6fe2cd0faf43.tar.gz scala-dd8fbb7c36b6b93e97e10978a71f6fe2cd0faf43.tar.bz2 scala-dd8fbb7c36b6b93e97e10978a71f6fe2cd0faf43.zip |
Forgot two files from previous commit.
-rw-r--r-- | src/compiler/scala/tools/nsc/Settings.scala | 1 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index 61516d0898..f3bce1d24c 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -130,7 +130,6 @@ class Settings(error: String => Unit) { val Yhelp = BooleanSetting ("-Y", "Print a synopsis of private options").hideToIDE val browse = PhasesSetting ("-Ybrowse", "Browse the abstract syntax tree after") - val XbytecodeRead = BooleanSetting ("-Ybytecode-read", "Enable bytecode reader.") val check = PhasesSetting ("-Ycheck", "Check the tree at start of") val Xcloselim = BooleanSetting ("-Yclosure-elim", "Perform closure elimination") val Xcodebase = StringSetting ("-Ycodebase", "codebase", "Specify the URL containing the Scala libraries", "") diff --git a/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala b/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala index dc65ac308a..16c693ea55 100644 --- a/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala +++ b/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala @@ -149,7 +149,7 @@ abstract class SymbolLoaders { def refresh = { /** Is the given name a valid input file base name? */ def isValid(name: String): Boolean = - name.length() > 0 && !name.endsWith("$class") && (settings.XbytecodeRead.value || + name.length() > 0 && !name.endsWith("$class") && (settings.XO.value || (name.indexOf("$anon") == -1)); val classes = new HashMap[String, global.classPath0.Context] |