aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/parsing
diff options
context:
space:
mode:
authorPaolo G. Giarrusso <p.giarrusso@gmail.com>2016-11-07 12:02:10 +0100
committerPaolo G. Giarrusso <p.giarrusso@gmail.com>2016-11-11 13:32:24 +0100
commita65da2ece5579dd198f39bb731c4a281a85aacce (patch)
tree75c378bf11e6fe90ec7e4351783dfd0b68a50c13 /src/dotty/tools/dotc/parsing
parent731493b3aa220bd639d45997a62c09e6acfc41b8 (diff)
downloaddotty-a65da2ece5579dd198f39bb731c4a281a85aacce.tar.gz
dotty-a65da2ece5579dd198f39bb731c4a281a85aacce.tar.bz2
dotty-a65da2ece5579dd198f39bb731c4a281a85aacce.zip
Fix typos
Diffstat (limited to 'src/dotty/tools/dotc/parsing')
-rw-r--r--src/dotty/tools/dotc/parsing/Parsers.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/parsing/Parsers.scala b/src/dotty/tools/dotc/parsing/Parsers.scala
index f442c13b3..ef4c970c6 100644
--- a/src/dotty/tools/dotc/parsing/Parsers.scala
+++ b/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -151,7 +151,7 @@ object Parsers {
/* ------------- ERROR HANDLING ------------------------------------------- */
/** The offset of the last time when a statement on a new line was definitely
- * encountered in the current scope or an outer scope\
+ * encountered in the current scope or an outer scope.
*/
private var lastStatOffset = -1
@@ -505,7 +505,7 @@ object Parsers {
if (t1 ne t) t1 else dotSelectors(selector(t), finish)
}
- /** Dotelectors ::= { `.' ident()
+ /** DotSelectors ::= { `.' ident()
*
* Accept `.' separated identifiers acting as a selectors on given tree `t`.
* @param finish An alternative parse in case the token following a `.' is not an identifier.
@@ -521,7 +521,7 @@ object Parsers {
* | [Ident `.'] this
*
* @param thisOK If true, [Ident `.'] this is acceptable as the path.
- * If false, another selection is required aftre the `this`.
+ * If false, another selection is required after the `this`.
* @param finish An alternative parse in case the token following a `.' is not an identifier.
* If the alternative does not apply, its tree argument is returned unchanged.
*/