# HG changeset patch # User Christian Kamm # Date 1240512295 -7200 # Node ID dda95755f63dc26203b1e9b908cf601f54495eec # Parent 192529570813f8f1350bffc18a0c174f1d527255 Fix parsing of import statements to only pass valid identifiers to Import constructor. Fixes #264. diff -r 192529570813 -r dda95755f63d dmd/parse.c --- a/dmd/parse.c Thu Apr 23 20:28:29 2009 +0200 +++ b/dmd/parse.c Thu Apr 23 20:44:55 2009 +0200 @@ -1640,7 +1640,7 @@ nextToken(); } - s = new Import(loc, a, token.ident, aliasid, isstatic); + s = new Import(loc, a, id, aliasid, isstatic); decldefs->push(s); /* Look for