adding a test case
[IRC.git] / Robust / JavaGrammar / Lex / IntegerLiteral.java
1 package Lex;
2
3 import java_cup.runtime.Symbol;
4
5 class IntegerLiteral extends NumericLiteral {
6   IntegerLiteral(int i) { this.val = new Integer(i); }
7
8   Symbol token() { return new Symbol(Sym.INTEGER_LITERAL, val); }
9 }