Added notes

This commit is contained in:
Justin Ethier 2017-08-11 19:49:58 -04:00
parent d6d321859d
commit a0782973b1

View file

@ -5768,7 +5768,11 @@ void Cyc_io_read_token(void *data, object cont, object port)
// - if a read is needed // - if a read is needed
// - if token length exceeds mem_buf length // - if token length exceeds mem_buf length
// will need to figure something out, maybe copy out to another malloc'd buffer // will need to figure something out, maybe copy out to another malloc'd buffer
// in those cases // in those cases. I think that might be the best strategy, to malloc then realloc.
// in this case we need the following:
// - token buffer
// - start index (for tokens in mem_buf)
// - end index (for tokens in token buf, 0 if token buf is empty)
_read_error(data, p, "Unhandled input sequence"); _read_error(data, p, "Unhandled input sequence");
} }