Mercurial > projects > dang
comparison lexer/Token.d @ 172:01c2c49775ef
- Changed Parser to be more clean on type parsing.
- Parsing int function(int), and the like, types.(Function pointers)
- Fixed a design fault that made Symbol be wrong. Now Symbols are created with a factory with the help of types.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Thu, 24 Jul 2008 20:31:24 +0200 |
parents | 57b0b4464a0b |
children | dc9bf56b7ace |
comparison
equal
deleted
inserted
replaced
171:f0385c044065 | 172:01c2c49775ef |
---|---|
253 Tok.Char:"Char", | 253 Tok.Char:"Char", |
254 Tok.Wchar:"Wchar", | 254 Tok.Wchar:"Wchar", |
255 Tok.Dchar:"Dchar", | 255 Tok.Dchar:"Dchar", |
256 Tok.Bool:"Bool", | 256 Tok.Bool:"Bool", |
257 Tok.Void:"Void", | 257 Tok.Void:"Void", |
258 Tok.Function:"Function", | |
258 Tok.Eq:"Eq", | 259 Tok.Eq:"Eq", |
259 Tok.Ne:"Ne", | 260 Tok.Ne:"Ne", |
260 Tok.Lt:"Lt", | 261 Tok.Lt:"Lt", |
261 Tok.Le:"Le", | 262 Tok.Le:"Le", |
262 Tok.Gt:"Gt", | 263 Tok.Gt:"Gt", |