Subversion Repositories programming

Rev

Rev 232 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 232 Rev 240
Line 199... Line 199...
199
    lexer = new Yylex (r, this);
199
    lexer = new Yylex (r, this);
200
}
200
}
201
 
201
 
202
public static void main (String[] args) throws Exception
202
public static void main (String[] args) throws Exception
203
{
203
{
-
 
204
    System.out.println ("Grammar Productions - Rightmost Derivation in Reverse Order");
-
 
205
    System.out.println ("===============================================================");
-
 
206
    
204
    try
207
    try
205
    {
208
    {
206
        Parser yyparser = new Parser (new FileReader (args[0]));
209
        Parser yyparser = new Parser (new FileReader (args[0]));
207
        yyparser.yyparse();
210
        yyparser.yyparse();
208
    }
211
    }