summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala
index ac92599ef3..fbe2ac37a8 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala
@@ -608,7 +608,7 @@ trait MarkupParsers {
//var ch: Char = _;
/** this method assign the next character to ch and advances in input */
- def nextch { s.in.next; /*s.xNext;*/ ch = s.in.ch ; if(ch == SourceFile.SU) throw new FatalError("reached end of buffer"); pos = s.in.cpos }
+ def nextch { s.in.next; /*s.xNext;*/ ch = s.in.ch ; if(ch == SourceFile.SU) p.incompleteInputError("reached end of buffer"); pos = s.in.cpos }
//def lookahead = { s.xLookahead }
var scannerState: List[List[Int]] = Nil