DIRECTOR: LINGO: Support REFERENCE Datum in Lingo::alignTypes()

This commit is contained in:
Eugene Sandulenko 2020-04-05 23:25:40 +02:00
parent 507280c2d1
commit b3865a7029

View File

@ -329,6 +329,12 @@ void Lingo::restartLingo() {
int Lingo::alignTypes(Datum &d1, Datum &d2) {
int opType = VOID;
if (d1.type == REFERENCE)
d1.toString();
if (d2.type == REFERENCE)
d2.toString();
if (d1.type == STRING) {
char *endPtr = 0;
double d = strtod(d1.u.s->c_str(), &endPtr);