@@ -320,7 +320,7 @@ SEXP selfrefokwrapper(SEXP x, SEXP verbose) {
320320 return ScalarInteger (_selfrefok (x ,FALSE,LOGICAL (verbose )[0 ]));
321321}
322322
323- int * _Last_updated = NULL ;
323+ int * Last_updated_ = NULL ;
324324
325325SEXP assign (SEXP dt , SEXP rows , SEXP cols , SEXP newcolnames , SEXP values )
326326{
@@ -381,7 +381,7 @@ SEXP assign(SEXP dt, SEXP rows, SEXP cols, SEXP newcolnames, SEXP values)
381381 if (numToDo == 0 ) {
382382 // isString(cols) is exclusive to calls from set()
383383 if (!length (newcolnames ) && !isString (cols )) {
384- * _Last_updated = 0 ;
384+ * Last_updated_ = 0 ;
385385 UNPROTECT (protecti );
386386 return (dt ); // all items of rows either 0 or NA. !length(newcolnames) for #759
387387 }
@@ -393,7 +393,7 @@ SEXP assign(SEXP dt, SEXP rows, SEXP cols, SEXP newcolnames, SEXP values)
393393 }
394394 if (!length (cols )) {
395395 if (verbose ) Rprintf (_ ("length(LHS)==0; no columns to delete or assign RHS to." )); // test 1295 covers
396- * _Last_updated = 0 ;
396+ * Last_updated_ = 0 ;
397397 UNPROTECT (protecti );
398398 return (dt );
399399 }
@@ -582,7 +582,7 @@ SEXP assign(SEXP dt, SEXP rows, SEXP cols, SEXP newcolnames, SEXP values)
582582 if (ret ) warning ("%s" , ret ); // # notranslate
583583 }
584584
585- * _Last_updated = numToDo ; // the updates have taken place with no error, so update .Last.updated now
585+ * Last_updated_ = numToDo ; // the updates have taken place with no error, so update .Last.updated now
586586 assignedNames = PROTECT (allocVector (STRSXP , LENGTH (cols ))); protecti ++ ;
587587 for (int i = 0 ; i < LENGTH (cols ); ++ i ) SET_STRING_ELT (assignedNames ,i ,STRING_ELT (names ,INTEGER (cols )[i ]- 1 ));
588588 key = getAttrib (dt , sym_sorted );
0 commit comments