[Mono-dev] Can Mono Compiler as Service compile classes?

robr robreiss at hotmail.com
Mon Sep 13 05:54:05 EDT 2010


I found the answer in the mono file "mcs\mcs\repl.txt":

* Supporting class-level declarations
	Currently the evaluator has this feature disabled, to enable
	it edit the eval.cs file and make this be the default:

-	parser.Lexer.putback_char =
Tokenizer.EvalUsingDeclarationsParserCharacter;
-	//parser.Lexer.putback_char =
Tokenizer.EvalCompilationUnitParserCharacter;
+	//parser.Lexer.putback_char
=Tokenizer.EvalUsingDeclarationsParserCharacter;
+	parser.Lexer.putback_char = Tokenizer.EvalCompilationUnitParserCharacter;
	
	It currently has a few problems: ...

I made the change and it worked.  Yea.
Rob
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Can-Mono-Compiler-as-Service-compile-classes-tp2536567p2537157.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list