mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[MOD] Make the cleanup *do a thing*.
This commit is contained in:
parent
37155316b2
commit
10e140e2a2
5 changed files with 62 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <Cytoplasm/Memory.h>
|
||||
#include <Cytoplasm/Str.h>
|
||||
#include <Cytoplasm/Log.h>
|
||||
|
||||
XMLElement *
|
||||
XMLCreateTag(char *name)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#include <XML.h>
|
||||
|
||||
#include <Cytoplasm/Log.h>
|
||||
#include <Cytoplasm/Str.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
XMLElement *
|
||||
|
|
@ -72,6 +75,10 @@ XMLDecode(Stream *stream, bool autofree)
|
|||
}
|
||||
break;
|
||||
case XML_LEXER_DATA:
|
||||
if (!peek())
|
||||
{
|
||||
break;
|
||||
}
|
||||
top = XMLCreateText(event->data);
|
||||
XMLAddChild(peek(), top);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue