implemented nonExist

This commit is contained in:
krangelov
2021-12-01 14:10:34 +01:00
parent 7e1a2447c2
commit 15c03816ea
4 changed files with 23 additions and 7 deletions

View File

@@ -71,11 +71,13 @@ again: {
PgfText *PgfPrinter::get_text()
{
if (res == NULL) {
res = (PgfText*) malloc(sizeof(PgfText));
res->size = 0;
PgfText *tmp = res;
if (tmp == NULL) {
tmp = (PgfText*) malloc(sizeof(PgfText));
tmp->size = 0;
}
return res;
res = NULL;
return tmp;
}
void PgfPrinter::flush_lambdas()