diff options
Diffstat (limited to 'src/meta.c')
-rw-r--r-- | src/meta.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -51,7 +51,7 @@ find_expansion_word (const char *kw, size_t len, char * meta_expand_string (const char *string, struct metadef *def, void *data, - struct access_method *method, void *handle) + struct dictionary *dict, void *handle) { const char *p, *s; char *res; @@ -82,12 +82,12 @@ meta_expand_string (const char *string, struct metadef *def, void *data, e = strchr (p + 1, '}'); if (e && (s = find_expansion_word (p + 1, e - p - 1, def, data))) { - if (method) + if (dict) { char *newval; size_t len; /* FIXME: Return value? */ - method_quote_string (method, handle, s, &newval, &len); + dictionary_quote_string (dict, handle, s, &newval, &len); obstack_grow (&stk, newval, len); free (newval); } @@ -111,12 +111,12 @@ meta_expand_string (const char *string, struct metadef *def, void *data, len = 1; } - if (method) + if (dict) { char *newval; size_t len; /* FIXME: Return value? */ - method_quote_string (method, handle, s, &newval, &len); + dictionary_quote_string (dict, handle, s, &newval, &len); obstack_grow (&stk, newval, len); free (newval); } |