mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-05 12:16:35 +02:00
Added notes
This commit is contained in:
parent
d6d321859d
commit
a0782973b1
1 changed files with 5 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue