Simplifications

This commit is contained in:
2025-05-14 20:04:03 -04:00
parent 318fe49c31
commit adbdae5730

View File

@@ -465,9 +465,6 @@ private:
break;
}
}
if (buf == bufBefore) {
return false;
}
callbacks->on_number_data(data, bufBefore, buf - bufBefore);
callbacks->on_end_number(data);
return true;
@@ -628,7 +625,7 @@ private:
char *buf;
char *bufEnd;
int len() { return bufEnd - buf; }
int len() const { return bufEnd - buf; }
const Callbacks *const callbacks;
void *const data;
Symbol stack[kMaxStackSize];