Files
Henry Weller 6ebeb96563 dynamicCodeContext: Lookup variables from the context dictionary
codeStream (#calc etc.) creates a local sub-dictionary in which to expand the
code so variable lookup needs to be checked with respect to the context
dictionary rather than with respect to the code sub-dictionary.  With this
change the following test/dictionary/testCalc #calc example now works:

    a   1.1;

    d
    {
        b   4.8;
    }

    // Access to higher-level sub-entries using the "../" operators, e.g.
    f
    {
        g #calc "$a / $../d/b";
    }
2024-07-26 11:15:56 +01:00
..
2024-07-06 16:02:47 +01:00
2024-07-06 16:02:47 +01:00
2024-07-06 16:02:47 +01:00
2024-07-06 16:02:47 +01:00
2024-07-06 16:02:47 +01:00