Uncomment catching of exceptions. This should fix #135

This commit is contained in:
Hackerpilot 2014-05-26 21:57:42 +00:00
parent 629c8a7959
commit 1464c3f5ae
1 changed files with 8 additions and 8 deletions

View File

@ -135,8 +135,8 @@ struct ModuleCache
ACSymbol*[] symbols; ACSymbol*[] symbols;
// try try
// { {
import core.memory; import core.memory;
import std.stdio; import std.stdio;
import std.typecons; import std.typecons;
@ -177,12 +177,12 @@ struct ModuleCache
typeid(Scope).destroy(third.moduleScope); typeid(Scope).destroy(third.moduleScope);
typeid(SemanticSymbol).destroy(third.rootSymbol); typeid(SemanticSymbol).destroy(third.rootSymbol);
symbolsAllocated += first.symbolsAllocated; symbolsAllocated += first.symbolsAllocated;
// } }
// catch (Exception ex) catch (Exception ex)
// { {
// Log.error("Couln't parse ", location, " due to exception: ", ex.msg); Log.error("Couln't parse ", location, " due to exception: ", ex.msg);
// return []; return [];
// } }
SysTime access; SysTime access;
SysTime modification; SysTime modification;
getTimes(cachedLocation, access, modification); getTimes(cachedLocation, access, modification);