From 2e25fe1e64f487fd91ff6f636bf3249b761ffcdc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 Jan 2021 19:34:11 +0100 Subject: Use a fixed-size reader stack This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size. --- src/string.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index f232acfa..d2ccea14 100644 --- a/src/string.c +++ b/src/string.c @@ -51,6 +51,8 @@ serd_strerror(SerdStatus status) return "Invalid CURIE"; case SERD_ERR_INTERNAL: return "Internal error"; + case SERD_ERR_OVERFLOW: + return "Stack overflow"; default: break; } -- cgit v1.2.1