Mercurial > projects > dil
comparison trunk/src/dil/Expressions.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 | 8af5c7e2f722 |
children | cfb3805768b6 |
comparison
equal
deleted
inserted
replaced
485:ea8c7459f1c4 | 486:bd176bc73e43 |
---|---|
693 } | 693 } |
694 } | 694 } |
695 | 695 |
696 class CharExpression : Expression | 696 class CharExpression : Expression |
697 { | 697 { |
698 this() | 698 Token* charLiteral; |
699 { | 699 this(Token* charLiteral) |
700 mixin(set_kind); | 700 { |
701 mixin(set_kind); | |
702 this.charLiteral = charLiteral; | |
701 } | 703 } |
702 } | 704 } |
703 | 705 |
704 class StringExpression : Expression | 706 class StringExpression : Expression |
705 { | 707 { |