diff options
author | michelou <michelou@epfl.ch> | 2007-05-15 10:02:00 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-05-15 10:02:00 +0000 |
commit | 8de5ae2b13556c5dea09049b79a40b378e93d008 (patch) | |
tree | d20b6bec1d8918784ca3789f5fe2d6f1da869b93 /src | |
parent | 312aeb8639e1f9573b7e5f4b01d88439a68de2a9 (diff) | |
download | scala-8de5ae2b13556c5dea09049b79a40b378e93d008.tar.gz scala-8de5ae2b13556c5dea09049b79a40b378e93d008.tar.bz2 scala-8de5ae2b13556c5dea09049b79a40b378e93d008.zip |
added missing else block
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala | 3 |
1 files changed, 2 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 e5e47692fb..6883cd745e 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala @@ -476,9 +476,10 @@ trait MarkupParsers { if (expectRBRACE) { if (ch == '}') nextch - else + else { reportSyntaxError("in XML content, please use '}}' to express '}'") throw ConfusedAboutBracesException + } } exit = xCheckEmbeddedBlock ||(ch == '<') || (ch == '&') } |