This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] /
1 package Lex;
2
3 import java_cup.runtime.Symbol;
4 import Parse.Sym;
5
6 class DoubleLiteral extends NumericLiteral {
7   DoubleLiteral(double d) {
8     this.val = new Double(d);
9   }
10
11   Symbol token() {
12     return new Symbol(Sym.FLOATING_POINT_LITERAL, val);
13   }
14 }