From 603944884569a484fc3d1234cc4a5caf0c8b0645 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Sun, 29 Sep 2013 22:49:53 +0200 Subject: Bug fixed (thought I tested before commit though...) --- elymas/lib/sys/opt.ey | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/elymas/lib/sys/opt.ey b/elymas/lib/sys/opt.ey index 3de3056..0b0380b 100644 --- a/elymas/lib/sys/opt.ey +++ b/elymas/lib/sys/opt.ey @@ -228,12 +228,15 @@ mode 16 div 1 band { [ STATICDOT offsetInScope parentCount inExtensionArea ] i 1 sub logic =[] [ - { mode 0 eq }' { + { mode 16 mod 0 eq }' { [ NOP ] i logic =[] - } { mode 1 eq }' { + } { mode 16 mod 1 eq }' { [ CALL "*" | +rawCodeAddress ] i logic =[] } { 1 }' { # TODO this might conceivably be legal though... + "SCope keys: " dump relevantScope keys dump + "Constant: " dump constant dump + "Mode: " dump mode dump "static . resolution resulted in execution mode neither 0 nor 1" die } ] conds -- cgit v1.2.3