Mercurial > projects > dil
diff trunk/src/dil/Information.d @ 486:bd176bc73e43
Fixed a few things in the Parser.
Refactored some code that used parseArguments() to using parseExpressionList().
Added calls to set() and tidied up the code of the Parser a bit.
Fixed parsing DotIdentifier in parseAsmPrimaryExpression().
Added charLiteral member to class CharExpression.
Added class InformationManager. Added member infoMan to class Scope.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 01 Dec 2007 18:22:56 +0100 |
parents | cac9c8d637ad |
children | 47be6bfe39cd |
line wrap: on
line diff
--- a/trunk/src/dil/Information.d Fri Nov 30 20:17:29 2007 +0100 +++ b/trunk/src/dil/Information.d Sat Dec 01 18:22:56 2007 +0100 @@ -53,6 +53,11 @@ } } +class InformationManager +{ + Information[] info; +} + final class Location { char[] filePath; @@ -99,7 +104,7 @@ this.filePath = filePath; } - /+ + /++ This is a primitive method to count the number of characters in a string. Unicode compound characters and other special characters are not taken into account.