Mercurial > projects > dang
comparison basic/LiteralParsing.d @ 192:fda35d57847e
Fixed String parsing, so that they get created with the right type in AST.
Also added so that you can parse options to the test program, that will mirror them to Dang.
Eg.
./tests/run --semantic-only
will pass --semantic-only to Dang on each run.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Fri, 25 Jul 2008 15:00:54 +0200 |
parents | c0b531362ca6 |
children |
comparison
equal
deleted
inserted
replaced
191:e799db8d9cb0 | 192:fda35d57847e |
---|---|
297 default: | 297 default: |
298 messages.report(InvalidStrPrefix, loc, loc + 1); | 298 messages.report(InvalidStrPrefix, loc, loc + 1); |
299 | 299 |
300 } | 300 } |
301 | 301 |
302 printString(str, strBuf); | 302 // printString(str, strBuf); |
303 | 303 |
304 return strBuf; | 304 return strBuf; |
305 } | 305 } |
306 | 306 |
307 String parseHexString(char[] str, String strBuf, | 307 String parseHexString(char[] str, String strBuf, |