aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-06-30 12:16:03 +0200
committerDrahflow <drahflow@gmx.de>2015-06-30 12:16:03 +0200
commit40c991c7d7c8d40336208357a83686c883d42f34 (patch)
tree46f84c7ef3b6bb2d7a140a1fa41d7c9f0723104e
parent11e28f108288e8fe241885876c9e4a74f7ffa9aa (diff)
Dynamic handling of missing scope entries
-rw-r--r--elymas/lib/sys/opt.ey15
-rw-r--r--examples/working-compiler/undefined-resolution.test2
2 files changed, 3 insertions, 14 deletions
diff --git a/elymas/lib/sys/opt.ey b/elymas/lib/sys/opt.ey
index e4f0bf6..5855cf0 100644
--- a/elymas/lib/sys/opt.ey
+++ b/elymas/lib/sys/opt.ey
@@ -506,10 +506,7 @@
}
] conds
} {
- executingScope dump
- executingScope keys dump
- constant dump
- "resolution failed" die
+ # this can happen if resolution was handled by #.|
} ? *
}
] conds
@@ -535,10 +532,7 @@
[ STATICWRITE offsetInScope parentCount inExtensionArea ] =entry
} { } ? *
} {
- executingScope dump
- executingScope keys dump
- constant dump
- "resolution failed" die
+ # this can happen if resolution was handled by #.=
} ? *
}
{ templateNametable { action CALL eq }' andif { 1 entry * STATICDEFININGFUNCTIONS eq any }' andif
@@ -640,10 +634,7 @@
}
] conds
} {
- relevantScope dump
- relevantScope keys dump
- constant dump
- "resolution failed" die
+ # this can happen if resolution was handled by #.
} ? *
}
] conds
diff --git a/examples/working-compiler/undefined-resolution.test b/examples/working-compiler/undefined-resolution.test
index 65b16b5..aa0230e 100644
--- a/examples/working-compiler/undefined-resolution.test
+++ b/examples/working-compiler/undefined-resolution.test
@@ -1,5 +1,3 @@
-# FIXME: does not yet work with optimization
-
<
{ "#." dump dump } "#." deffd
{ "#.|" dump dump } "#.|" deffd