Compilation error when building with AST option

Mar 24, 2011 at 3:15 PM

Hi, I am getting the following errors when I try to compile with the AST option set:

public class compilation_unit_return : ParserRuleReturnScope<IToken>, IAstRuleReturnScope<object>

ParserRuleReturnScope doesn't have a generic argument.
IAstRuleReturnScope doesn't exist.


The class GrammarRuleAttribute doesn't exist.

Can you point me in the right direction?



Mar 25, 2011 at 2:08 AM

GrammarRuleAttribute is in the latest C# runtime.  That's why it's checked into the source tree (or you can get from the source tree).  Grab the latest version from the [Source Code] tab.

I'll put a release out one day with the latest.....