Patch: Elm ME+ 2.5 PLalpha46 -> Elm ME+ 2.5 PLalpha47 [2/7] (3/6)
From
Kari Hurtta@21:1/5 to
All on Sat Feb 10 14:43:26 2018
[continued from previous message]
+ p->lines[p->line_count].get_value_buffer = NULL;
+ p->lines[p->line_count].value = value;
+ p->lines[p->line_count].lineno = lineno;
+ p->lines[p->line_count].filename = filename;
+ p->lines[p->line_count].negate_continue = negate_continue;
+ p->line_count++;
+ }
+
+
void mark_delayed_changed(A, no_history_record)
void *A;
int no_history_record;
***************
*** 69,74 ****
--- 98,108 ----
struct rc_save *x;
for (x = root; x; x = x->next) {
+
+ if (RC_SAVE_magic != x->magic)
+ panic("RC PANIC",__FILE__,__LINE__,"mark_delayed_changed",
+ "Bad magic number (rc_save)",0);
+
if (x->real && x->real->val.dummy == A) {
DPRINT(Debug,10,(&Debug,
***************
*** 85,94 ****
x,A));
}
-
}
}
-
}
void mark_fdelayed_changed(A,no_history_record)
--- 119,126 ----
***************
*** 98,103 ****
--- 130,140 ----
struct rc_save *x;
for (x = root; x; x = x->next) {
+
+ if (RC_SAVE_magic != x->magic)
+ panic("RC PANIC",__FILE__,__LINE__,"mark_fdelayed_changed",
+ "Bad magic number (rc_save)",0);
+
if (x->real && x->real->func_val == A) {
DPRINT(Debug,10,(&Debug,
***************
*** 119,130 ****
}
-
static struct rc_save * new_record P_((void));
static struct rc_save * new_record()
{
struct rc_save * x = safe_zero_alloc(sizeof (*x