Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
 public Actions(MyLex lex)
 {
     this.lex = lex;
     actionInit();
 }