diff options
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -223,6 +223,18 @@ node_new_print (ast_type_spec_t *type_spec, } node_t * +node_new_to_string (ast_type_spec_t *type_spec, + node_t *pred, + ast_t *ast) +{ + node_t *node = node_new (NODE_TO_STRING, pred, ast); + + node->to_string.type_spec = type_spec; + + return node; +} + +node_t * node_new_call (node_t *pred, ast_t *ast) { |