diff options
author | mongo <mongo@iomega> | 2017-01-28 12:45:58 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2017-01-28 12:45:58 -0300 |
commit | 6056193ce452e2bc4640442cc05df45a90bfdd20 (patch) | |
tree | cd324dc7ba8579a0adfe7e0e74902979284ecb88 /src/sc.h | |
parent | 757b8e08c7aedf84fad95f6bb2e9354a9592bf64 (diff) |
Changes when an ent is removed:
When one or more ents are removed by dr dc sk sh commands, is_deleted flag is set.
That makes REF appears in formulas of ents that depend on the deleted ents.
When one or more ents are removed by 'x' command, is_deleted flag is not set.
That preserves references in other ents that depend on the deleted ents, returning zero as
evaluation result.
Diffstat (limited to 'src/sc.h')
-rw-r--r-- | src/sc.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -221,14 +221,7 @@ struct go_save { #define NUMITER (OP_BASE + 66) #define ERR_ (OP_BASE + 67) #define PI_ (OP_BASE + 68) -//#define SC_BLACK (OP_BASE + 69) -//#define SC_RED (OP_BASE + 70) -//#define SC_GREEN (OP_BASE + 71) -//#define SC_YELLOW (OP_BASE + 72) -//#define SC_BLUE (OP_BASE + 73) -//#define SC_MAGENTA (OP_BASE + 74) -//#define SC_CYAN (OP_BASE + 75) -//#define SC_WHITE (OP_BASE + 76) +#define REF_ (OP_BASE + 69) #define SLEN (OP_BASE + 77) #define ASCII (OP_BASE + 78) #define CHR (OP_BASE + 79) |