summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/io/Lexer.scala
diff options
context:
space:
mode:
authorSamy Dindane <samy@dindane.com>2013-01-24 17:42:02 +0100
committerSamy Dindane <samy@dindane.com>2013-01-24 17:59:04 +0100
commita01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f (patch)
tree9e37fdb08315a5e969187e2e36522c65258dccb1 /src/compiler/scala/tools/nsc/io/Lexer.scala
parent1e69a0b67a184ca9d0b205a407e34cf85d11372c (diff)
downloadscala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.tar.gz
scala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.tar.bz2
scala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.zip
Fix some typos
Fixes mostly "a int", "a a thing" kind of typos. Also removes trailing whitespaces, useless empty lines and commented println() from "test/files/run/ctries-new/iterator.scala".
Diffstat (limited to 'src/compiler/scala/tools/nsc/io/Lexer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/io/Lexer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/io/Lexer.scala b/src/compiler/scala/tools/nsc/io/Lexer.scala
index e843f8d5ce..aed6e882e6 100644
--- a/src/compiler/scala/tools/nsc/io/Lexer.scala
+++ b/src/compiler/scala/tools/nsc/io/Lexer.scala
@@ -7,8 +7,8 @@ import java.io.Reader
*/
object Lexer {
- /** An exception raised if a if input does not correspond to what's expected
- * @param rdr the lexer form which the bad input is read
+ /** An exception raised if an input does not correspond to what's expected
+ * @param rdr the lexer from which the bad input is read
* @param msg the error message
*/
class MalformedInput(val rdr: Lexer, val msg: String) extends Exception("Malformed JSON input at "+rdr.tokenPos+": "+msg)