diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | parse.c | 2 | ||||
-rw-r--r-- | trie.inc.h | 2 |
3 files changed, 3 insertions, 7 deletions
@@ -4,9 +4,7 @@ CC := gcc OBJDIR = obj -# CPPFLAGS = -CFLAGS = $(CPPFLAGS) \ - -std=gnu11 -Wall -Wextra \ +CFLAGS = -std=gnu11 -Wall -Wextra \ -ggdb -fPIC \ $(shell guile-config compile) LDFLAGS = -fPIC $(shell guile-config link) @@ -29,7 +27,7 @@ parse: $(O_FILES) $(O_FILES): | $(OBJDIR) $(OBJDIR)/%.o : %.c $(H_FILES) $(X_FILES) - $(CC) -c -o $@ $< $(CFLAGS) + $(CC) -c $(CFLAGS) -o $@ $< $(OBJDIR): mkdir -p $(OBJDIR) @@ -138,8 +138,6 @@ int parse_file(char* filename, FILE* f, vcomponent* root) { } - INFO("Parsed file, cleaning up."); - FREE(content_line)(&cline); assert(POP(LLIST(vcomponent))(&ctx.comp_stack) == root); @@ -146,7 +146,7 @@ int TRIE_DOT_HELP(TYPE) ( TRIE_NODE(TYPE)* root, FILE* f ) { if (! EMPTY(LLIST(key_val))(&root->value->params)) { fprintf(f, "subgraph \"cluster_param_%p\"{\n color=blue;\n", root); FOR(LLIST(key_val), link, &root->value->params) { - fprintf(f, "\"%p\" [label=\"%s := %s\"];", link, + fprintf(f, "\"%p\" [shape=rectangle, label=\"%s := %s\"];", link, link->value->key.mem, link->value->val.mem); } |