Change cgen's limit from a count to a pointer.

This commit is contained in:
Nigel Tao committed 2017-10-27 10:28:35 +11:00
1 parent 3485950a3f
commit aa396e7992
12 files changed
+298 -278

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
template short_read(string qPKGPREFIXq, string qnameq) {
short_read_qnameq:
if (a_qnameq.buf && a_qnameq.buf->closed && !a_qnameq.use_limitt) {
if (a_qnameq.buf && a_qnameq.buf->closed && !a_qnameq.private_impl.limit) {
status = qPKGPREFIXqERROR_UNEXPECTED_EOF;
goto exit;
}