Mercurial > projects > dang
diff sema/LiteralInterpreter.d @ 111:c658172ca8a0
Parsing basic integers and floats.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Sun, 25 May 2008 15:42:44 +0200 |
parents | 89db676fbacb |
children | c0b531362ca6 |
line wrap: on
line diff
--- a/sema/LiteralInterpreter.d Sun May 25 14:56:05 2008 +0200 +++ b/sema/LiteralInterpreter.d Sun May 25 15:42:44 2008 +0200 @@ -23,5 +23,10 @@ auto type = parseString(exp.str, exp.loc, messages); } + void visitIntegerLit(IntegerLit exp) + { + auto type = parseNumber(exp.name, exp.loc, messages); + } + MessageHandler messages; }