public void ItDiesOnIllegalStatements(string code)
{
var llstream = new LookAheadStream<Token>(new Lexer(code.ToStream()).Lex());
var parser = new DaisyParser(llstream);
try
{
parser.Parse();
}
catch (Exception)
{
//throw;
return;
}
Assert.Fail("Expected " + code + " to not parse");
}