diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-04-19 22:37:51 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-04-19 22:37:51 +0000 |
commit | b33aca6a2fd019d57d81775902cd9b39c4f3347c (patch) | |
tree | 640d9f9acfb6d96674f100631f14d2ef5c86fcb2 /src/compiler | |
parent | 5daae64bc636b274680dabd1b8c45bc5155b7a1f (diff) | |
download | scala-b33aca6a2fd019d57d81775902cd9b39c4f3347c.tar.gz scala-b33aca6a2fd019d57d81775902cd9b39c4f3347c.tar.bz2 scala-b33aca6a2fd019d57d81775902cd9b39c4f3347c.zip |
Try to commit each file individually.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/MainTokenMetric.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/MainTokenMetric.scala b/src/compiler/scala/tools/nsc/MainTokenMetric.scala index 1f1632fd48..e936dd85e9 100644 --- a/src/compiler/scala/tools/nsc/MainTokenMetric.scala +++ b/src/compiler/scala/tools/nsc/MainTokenMetric.scala @@ -21,7 +21,7 @@ object MainTokenMetric { import compiler.syntaxAnalyzer.UnitScanner import ast.parser.Tokens.EOF var totale = 0 - for (source <- fnames) { + for (val source <- fnames) { val s = new UnitScanner(new CompilationUnit(compiler.getSourceFile(source))) var i = 0 while(s.token != EOF) { |