Fix entity stream refactoring

This commit is contained in:
Wilson Lin 2018-08-10 22:01:27 +12:00
parent 9ab8a0fafb
commit 376afcd793
2 changed files with 10 additions and 10 deletions

View File

@ -127,7 +127,7 @@ void hbs_content(hbs_options_t so, hbu_pipe_t pipe, hb_char_t *parent) {
break;
case HBS_CONTENT_STATE_ENTITY:
hbs_entity(so, pipe);
hbsh_entity(so, pipe);
break;
case HBS_CONTENT_STATE_END:

View File

@ -3,17 +3,17 @@
#include <inttypes.h>
#include "../util/hbchar.h"
#include "../util/buffer.c"
#include "../util/pipe.c"
#include "../../util/hbchar.h"
#include "../../util/buffer.c"
#include "../../util/pipe.c"
#include "../rule/entity/entityrefs.c"
#include "../rule/char/lcalpha.c"
#include "../rule/char/ucalpha.c"
#include "../rule/char/digit.c"
#include "../rule/char/hex.c"
#include "../../rule/entity/entityrefs.c"
#include "../../rule/char/lcalpha.c"
#include "../../rule/char/ucalpha.c"
#include "../../rule/char/digit.c"
#include "../../rule/char/hex.c"
#include "./streamoptions.c"
#include "../streamoptions.c"
#define HBSH_ENTITY_TYPE_NAME 1
#define HBSH_ENTITY_TYPE_DECIMAL 2