static void Main(string[] args) { var s = new StreamReader(args[0]); MyLex yy = new MyLex(s); MyToken t; while ((t = yy.Lex()) != null) { Console.WriteLine(t); } }
public Actions(MyLex lex) { this.lex = lex; actionInit(); }