diff options
author | dos-reis <gdr@axiomatics.org> | 2008-05-22 01:08:03 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-05-22 01:08:03 +0000 |
commit | db5b6bc58c7d8307b8874b37793074f789eb626a (patch) | |
tree | 83b3c602045e209e20f8ddf464d4b5973a3618a2 /src/hyper/mem.c | |
parent | ab4a8ba818d6fa8d237a55639c7361b376162f81 (diff) | |
download | open-axiom-db5b6bc58c7d8307b8874b37793074f789eb626a.tar.gz |
* hyper/lex.c: Don't include hyper.h, hterror.h and
sockio.h. Include node.h.
* hyper/hyper.h: Don't include X11 headers. Include node.h.
Mode node data structures to node.h.
* hyper/cond.c: Don't include hterror.h. Include lex.h
* hyper/Makefile.in (HEADERS): Include node.h. Remove hterror.h.
(hypertex_SOURCES): Remove hterror.c
(htadd_SOURCES): Likewise.
* hyper/node.h: New.
* hyper/hterror.h: Remove.
* hyper/hterror.c (token_name): Move to hyper/lex.c.
(print_token): Likewise.
(print_next_ten_tokens): Likewise.
(print_page_and_filename): Likewise.
(jump): Likewise.
(ebuffer): Likewise.
(htperror): Move to parse-types.c
Remove file.
Diffstat (limited to 'src/hyper/mem.c')
-rw-r--r-- | src/hyper/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/mem.c b/src/hyper/mem.c index feed98df..554b7ff2 100644 --- a/src/hyper/mem.c +++ b/src/hyper/mem.c @@ -340,7 +340,7 @@ alloc_ifnode(void) { IfNode *tempif; - tempif = (IfNode *) halloc(sizeof(struct if_node), "IfNode"); + tempif = (IfNode *) halloc(sizeof(IfNode), "IfNode"); tempif->thennode = tempif->elsenode = tempif->cond = NULL; return tempif; } @@ -350,7 +350,7 @@ alloc_condnode(void) { CondNode *temp; - temp = (CondNode *) halloc(sizeof(struct cond_node), "Cond Node"); + temp = (CondNode *) halloc(sizeof(CondNode), "Cond Node"); temp->cond = temp->label = NULL; return temp; } |