From 92ea77d45dc0e174943ecf8d2d73ef6898b3534b Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 9 Apr 2014 11:25:35 -0700 Subject: [PATCH] Fix imports --- stdx/lexer.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdx/lexer.d b/stdx/lexer.d index 1df674d..ffc79bb 100644 --- a/stdx/lexer.d +++ b/stdx/lexer.d @@ -420,6 +420,7 @@ mixin template Lexer(Token, alias defaultTokenFunction, private static string generateCaseStatements() { + import std.algorithm; import std.conv; import std.string; import std.range; @@ -443,6 +444,7 @@ mixin template Lexer(Token, alias defaultTokenFunction, private static string printCase(string[] tokens, string[] pseudoTokens) { + import std.algorithm; string[] t = tokens; string[] sortedTokens = stupidToArray(sort!"a.length > b.length"(t)); import std.conv;