#include #include #include #include "struct.h" #include "clone.h" struct position* clone_position( const struct position* cloneme) { ENTER; struct position* this = smalloc(sizeof(*this)); this->filename = inc_string(cloneme->filename); this->line = cloneme->line; this->column = cloneme->column; this->refcount = 1; EXIT; return this; }