summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-06-04 07:22:53 +0000
committerLex Spoon <lex@lexspoon.org>2007-06-04 07:22:53 +0000
commit609af01c6ed5e8d730cf26838fcf890c3eb057ca (patch)
tree44eb3da8017f598de66959f11d8bf6a577a0ed41 /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
parent450979f77506c0375d7dcf84219dfd226d9da499 (diff)
downloadscala-609af01c6ed5e8d730cf26838fcf890c3eb057ca.tar.gz
scala-609af01c6ed5e8d730cf26838fcf890c3eb057ca.tar.bz2
scala-609af01c6ed5e8d730cf26838fcf890c3eb057ca.zip
renamed nonContinuableError -> syntaxErrorSeen
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index d81b31904c..3637a8f050 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -92,8 +92,8 @@ trait Parsers {
private def stringVal = inName.toString
private def inNextTokenCode = in.next.token
- /** whether a non-continuable error has been seen */
- private var nonContinuableError = false
+ /** whether a non-continuable syntax error has been seen */
+ private var syntaxErrorSeen = false
/** the markup parser */
def xmlp = {
@@ -181,7 +181,7 @@ trait Parsers {
skip()
in.skipping = false
}
- nonContinuableError = true
+ syntaxErrorSeen = true
}
def syntaxErrorMigrate(msg: String) =
@@ -196,7 +196,7 @@ trait Parsers {
def incompleteInputError(pos: ScanPosition, msg: String) {
if (pos == in.errpos) return
- if (nonContinuableError)
+ if (syntaxErrorSeen)
syntaxError(pos, msg, false)
else {
in.incompleteInputError(pos, msg)