From 7417f70cc6d3d4a5efc14f20b47d022a457e6c7e Mon Sep 17 00:00:00 2001 From: buraq Date: Mon, 15 Mar 2004 20:09:37 +0000 Subject: removed 'foo(...) from parser --- sources/scala/tools/scalac/ast/parser/Parser.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sources') diff --git a/sources/scala/tools/scalac/ast/parser/Parser.scala b/sources/scala/tools/scalac/ast/parser/Parser.scala index 611b7a16fb..3aefd6742f 100644 --- a/sources/scala/tools/scalac/ast/parser/Parser.scala +++ b/sources/scala/tools/scalac/ast/parser/Parser.scala @@ -601,13 +601,14 @@ class Parser(unit: Unit) { s.nextToken(); if (isSymLit) { val pos = s.pos; + /* if (s.token == LPAREN || s.token == LBRACE) xmlp.mkXML( pos, isPattern, t, argumentExprs() ); // xml shorthand - else { // Symbol("name") + else { // Symbol("name") */ var symT = scalaDot( pos, Names.Symbol ); if( isPattern ) { symT = convertToTypeId( symT ) }; make.Apply( pos, symT, Predef.Array[Tree]( t ) ) - } + /*} */ } else { t } -- cgit v1.2.3