campo-sirio/include/value.cpp

13 lines
174 B
C++
Raw Normal View History

// langytypes.C
#include <value.h>
Value& Value::operator=(const Value& val)
{
v = val.v;
_s = val._s;
strcpy(_buf, val._buf);
_type = val._type;
return *this;
}