diff options
author | Seth Tisue <seth@tisue.net> | 2017-04-10 11:06:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 11:06:29 -0500 |
commit | f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe (patch) | |
tree | 6e2c010d98c98aaeb248d2889f759267f5bca6c3 /src/compiler/scala/tools/nsc/ast/parser | |
parent | d9c3bd53433f202f0123733613baf3a382076323 (diff) | |
parent | a23898e7e19c6d255c262f7465b8bc8c6e0b9b5d (diff) | |
download | scala-f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe.tar.gz scala-f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe.tar.bz2 scala-f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe.zip |
Merge pull request #5786 from janekdb/topic/2.12.x-scaladoc-spelling-corrections-3
Fix Greek Mythology references in compiler package
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 4 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Scanners.scala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index 0cdba861a5..82664ba9c0 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -234,7 +234,7 @@ self => else currentRun.parsing.incompleteInputError(o2p(offset), msg) } - /** parse unit. If there are inbalanced braces, + /** parse unit. If there are unbalanced braces, * try to correct them and reparse. */ def smartParse(): Tree = withSmartParsing { @@ -812,7 +812,7 @@ self => false } else true - /** Strip the artifitial `Parens` node to create a tuple term Tree. */ + /** Strip the artificial `Parens` node to create a tuple term Tree. */ def stripParens(t: Tree) = t match { case Parens(ts) => atPos(t.pos) { makeSafeTupleTerm(ts, t.pos.point) } case _ => t diff --git a/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala b/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala index 3ed1570c1c..0618f5d06e 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Scanners.scala @@ -1254,7 +1254,7 @@ trait Scanners extends ScannersCommon { class MalformedInput(val offset: Offset, val msg: String) extends Exception /** A scanner for a given source file not necessarily attached to a compilation unit. - * Useful for looking inside source files that aren not currently compiled to see what's there + * Useful for looking inside source files that are not currently compiled to see what's there */ class SourceFileScanner(val source: SourceFile) extends Scanner { val buf = source.content |