summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Cruise <alex@metaforsoftware.com>2012-03-15 14:32:28 -0700
committerAlex Cruise <alex@metaforsoftware.com>2012-03-15 14:32:28 -0700
commitc8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b (patch)
tree3118b497b80ea202a9b3d97bd07ade8db93e2780 /src
parente533b2672b8c7e558e27fc264e714d656adf38b2 (diff)
downloadscala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.tar.gz
scala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.tar.bz2
scala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.zip
Re-fixed 2.10-style literals. Oh, silly Windows and your line endings.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala b/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala
index 591a3f557d..849437e4ff 100755
--- a/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala
@@ -110,7 +110,7 @@ abstract class SymbolicXMLBuilder(p: Parsers#Parser, preserveWS: Boolean) {
else List(Typed(makeXMLseq(pos, children), wildStar))
def pat = Apply(_scala_xml__Elem, List(pre, label, wild, wild) ::: convertToTextPat(children))
- def nonpat = New(_scala_xml_Elem, List(List(pre, label, attrs, scope, if (empty) Literal(true) else Literal(false)) ::: starArgs))
+ def nonpat = New(_scala_xml_Elem, List(List(pre, label, attrs, scope, if (empty) Literal(Constant(true)) else Literal(Constant(false))) ::: starArgs))
atPos(pos) { if (isPattern) pat else nonpat }
}