Mercurial > projects > dil
diff trunk/src/dil/parser/Parser.d @ 803:cb8040538772
Reporting error for invalid octal escape sequences.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 07 Mar 2008 11:46:56 +0100 |
parents | c24be8d4f6ab |
children | 9e6c6bb73e5f |
line wrap: on
line diff
--- a/trunk/src/dil/parser/Parser.d Wed Mar 05 15:45:54 2008 +0100 +++ b/trunk/src/dil/parser/Parser.d Fri Mar 07 11:46:56 2008 +0100 @@ -3434,11 +3434,7 @@ if (consumed(T.Dot)) type = set(new ModuleScopeType(parseIdentifierType()), begin); else if (token.kind == T.Typeof) - { type = parseTypeofType(); - if (token.kind != T.Dot) - return type; - } else type = parseIdentifierType();