From 302186ad6eb121aae09f74a21af0b7737ffe9e3d Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Thu, 16 Feb 2006 23:11:32 +0000 Subject: removed a hack for supporting the interpreter t... removed a hack for supporting the interpreter that is no longer needed --- src/compiler/scala/tools/nsc/ast/parser/SyntaxAnalyzer.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/compiler/scala/tools/nsc/ast/parser/SyntaxAnalyzer.scala b/src/compiler/scala/tools/nsc/ast/parser/SyntaxAnalyzer.scala index b4a3b507b3..8db8f1adba 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/SyntaxAnalyzer.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/SyntaxAnalyzer.scala @@ -16,10 +16,5 @@ abstract class SyntaxAnalyzer extends SubComponent with Parsers with MarkupParse unit.body = new Parser(unit).parse(); } } - //Moez addition. I wished not to add/modify here, but the fact that Parsers - // are NOT accessible (because of Parsers' self type) except in SyntaxAnalyzer - // had bitten me, and thus I had to add the following code here. - def interpreterParse(unit: global.CompilationUnit): List[global.Tree] = - new Parser(unit).templateStatSeq() } -- cgit v1.2.3