diff options
| author | Drahflow <drahflow@gmx.de> | 2013-09-29 22:49:53 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-09-29 22:49:53 +0200 |
| commit | 603944884569a484fc3d1234cc4a5caf0c8b0645 (patch) | |
| tree | 3e043aced25557b77c4ba4dea39a476ce80e0930 /elymas | |
| parent | 67fb3a739ca5a95af7e17abd20edb38a823c4cdc (diff) | |
Bug fixed (thought I tested before commit though...)
Diffstat (limited to 'elymas')
| -rw-r--r-- | elymas/lib/sys/opt.ey | 7 |
1 files 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 |
