Mercurial > projects > dil
comparison trunk/src/Token.d @ 31:94f09f4e988e
- Added struct for strings to Token with 'pf' = postfix.
- Added code for parsing hex string literals.
- Added stub for parsing raw strings literals.
author | aziz |
---|---|
date | Mon, 25 Jun 2007 13:34:03 +0000 |
parents | 426767b94635 |
children | d7011daa4740 |
comparison
equal
deleted
inserted
replaced
30:426767b94635 | 31:94f09f4e988e |
---|---|
77 char* start; | 77 char* start; |
78 char* end; | 78 char* end; |
79 | 79 |
80 union | 80 union |
81 { | 81 { |
82 char[] str; | 82 struct |
83 { | |
84 string str; | |
85 char pf; | |
86 } | |
83 dchar chr; | 87 dchar chr; |
84 uint _uint; | 88 uint _uint; |
85 float f; | 89 float f; |
86 double d; | 90 double d; |
87 } | 91 } |