diff --git a/hld/Eval.hx b/hld/Eval.hx index 7f00387..15e4cb1 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -711,7 +711,7 @@ class Eval { return v; } var v = getGlobalAddress(path); - if( v == null ) throw "Unknown value "+path.join("."); + if( v == null || v == ANone ) throw "Unknown value "+path.join("."); return fetchAddr(v); }