[INTERPRETER]

* BUG: Fix the READ instruction when reading null strings.


git-svn-id: svn://localhost/gambas/trunk@3455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-01-15 01:04:32 +00:00
parent 33177a678a
commit bd4d73f42b

View file

@ -1041,6 +1041,8 @@ void STREAM_read_type(STREAM *stream, TYPE type, VALUE *value)
STRING_new_temp_value(value, NULL, labs(len));
STREAM_read(stream, value->_string.addr, len);
}
else
value->type = T_NULL;
break;