=?gb2312?q?=BB=D8=B8=B4=A3=BA=20[antlr-interest]=20C#=20.NET=202.0=20'ant?= =?gb2312?q?lr.ASTPair'=20does=20not=20contain=20a=20definition=20for=20'G?= =?gb2312?q?etInstance'=20and=20PutInstance?=

=?gb2312?q?=CB=EF=BC=CD=B8=D5=20Jigang=20(Robert)=20Sun?= sunjigang1965 at yahoo.com.cn
Tue Feb 21 03:34:51 PST 2006


Similar strange windows poped up a couple of weeks
ago. The error I met was that ASTPair could not be
found in the project. I moved antlr 2.7.6 files on to
root of C: drive and kept ist directory name
unchanged(default directory name), i.e.
"C:\antlr-2.7.6". Maybe adding using assembly
directives does help. The compiler I am using is C#
2005 Express. I hope this could be a hint. 

Jigang 

--- "Vladimir S." <vs667 at nyu.edu>дµÀ:

> I am having some issue compiling the C# parser
> generated by antrl in 
> Visual Studio 2005.
> I have build the antlr.runtime.dll successfully and
> referenced it in my 
> project, but for some reason I get the
> 'antlr.ASTPair' does not contain a definition for
> 'GetInstance' and 
> antlr.ASTPair' does not contain a definition for
> 'PutInstance' error.
> 
> I have tried this with every C# examples provided.
> The 
> ASTPair.GetInstance() and ASTPair.PutInstance() do
> not seem to exist in 
> the antlr.runtime.dll
> 
> Thanks for any feedback.
> Vladimir Sutskever
> 



	

	
		
___________________________________________________________ 
ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ 
http://cn.mail.yahoo.com/


More information about the antlr-interest mailing list