Mercurial > projects > dang
diff parser/Parser.d @ 104:7ff4bc2accf2 new_gen
Lexing more types of strings. Now all's left is to parse the string in the AST.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Wed, 21 May 2008 21:05:23 +0200 |
parents | cd066f3b539a |
children | 0cd8d6ab3f89 |
line wrap: on
line diff
--- a/parser/Parser.d Thu May 08 10:54:29 2008 +0200 +++ b/parser/Parser.d Wed May 21 21:05:23 2008 +0200 @@ -627,6 +627,8 @@ return parseCast(next); else if (next.type == Tok.Integer) return action.actOnNumericConstant(next); + else if (next.type == Tok.String) + return action.actOnStringExp(next); messages.report(ExpectedExp, next.location) .fatal(ExitLevel.Parser);