mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 00:02:50 -06:00
remove the dependency on the HAVE_STATEMENT_EXPRESSIONS flag. This reduces the dependency on the ./configure script
This commit is contained in:
@@ -20,9 +20,10 @@ gu_string_buf(GuPool* pool)
|
||||
GuBuf* buf = gu_new_buf(uint8_t, pool);
|
||||
GuOut* out = gu_buf_out(buf, pool);
|
||||
GuWriter* wtr = gu_new_utf8_writer(out, pool);
|
||||
return gu_new_s(pool, GuStringBuf,
|
||||
.bbuf = buf,
|
||||
.wtr = wtr);
|
||||
GuStringBuf* sbuf = gu_new(GuStringBuf, pool);
|
||||
sbuf->bbuf = buf;
|
||||
sbuf->wtr = wtr;
|
||||
return sbuf;
|
||||
}
|
||||
|
||||
GuWriter*
|
||||
|
||||
Reference in New Issue
Block a user