132 token.type = type; |
132 token.type = type; |
133 token.content = scstrsubsl(content, token_begin, token_end - token_begin); |
133 token.content = scstrsubsl(content, token_begin, token_end - token_begin); |
134 return token; |
134 return token; |
135 } |
135 } |
136 |
136 |
137 |
137 /* |
138 static void test_print_config(ConfigNode *parent) { |
138 static void test_print_config(ConfigNode *parent) { |
139 UCX_FOREACH(elm, parent->children) { |
139 UCX_FOREACH(elm, parent->children) { |
140 ConfigNode *node = elm->data; |
140 ConfigNode *node = elm->data; |
141 |
141 |
142 if(node->type == CONFIG_NODE_SPACE) { |
142 if(node->type == CONFIG_NODE_SPACE) { |