[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:
parent
33177a678a
commit
bd4d73f42b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue