diff options
author | Alex Cruise <alex@metaforsoftware.com> | 2012-03-15 14:32:28 -0700 |
---|---|---|
committer | Alex Cruise <alex@metaforsoftware.com> | 2012-03-15 14:32:28 -0700 |
commit | c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b (patch) | |
tree | 3118b497b80ea202a9b3d97bd07ade8db93e2780 | |
parent | e533b2672b8c7e558e27fc264e714d656adf38b2 (diff) | |
download | scala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.tar.gz scala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.tar.bz2 scala-c8bc6dfd8f0262ed3aec056bd06a3c1b010e6e9b.zip |
Re-fixed 2.10-style literals. Oh, silly Windows and your line endings.
-rwxr-xr-x | src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala | 2 |
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 } } |