Mercurial > projects > ddmd
diff dmd/StringExp.d @ 68:ee3a9f34dc48
final bits of codegen implementation to compile Phobos
author | korDen |
---|---|
date | Tue, 24 Aug 2010 16:44:34 +0400 |
parents | cab4c37afb89 |
children | 2e2a5c3f943a |
line wrap: on
line diff
--- a/dmd/StringExp.d Mon Aug 23 21:21:05 2010 +0400 +++ b/dmd/StringExp.d Tue Aug 24 16:44:34 2010 +0400 @@ -70,7 +70,7 @@ { if (e.op == TOKstring) { - return compare(o) == 0; + return opCmp(o) == 0; } } @@ -577,7 +577,7 @@ return e; } - int compare(Object obj) + int opCmp(Object obj) { // Used to sort case statement expressions so we can do an efficient lookup StringExp se2 = cast(StringExp)(obj);