Created
December 22, 2011 06:50
-
-
Save kakkun61/1509288 to your computer and use it in GitHub Desktop.
Java Advent Calendar 2011 code 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main (String[] args) { | |
try { | |
Parser parser = new Parser(System.in); | |
parser.List(); | |
} catch (TokenMgrError ex) { | |
System.out.println("字句解析エラー:" + ex.getMessage()); | |
} catch (ParseException ex) { | |
System.out.println("構文解析エラー:" + ex.getMessage()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment