diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-04 12:52:26 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-04 12:52:26 +0200 |
commit | e7bdf5ebd4162172e79c00196061af625bd729f2 (patch) | |
tree | 50f12a230167ee3c730bbf89ba419f2b9afc6a0f /gawkapi.c | |
parent | 82f91536607791340faab394432860f68f0b2787 (diff) | |
download | egawk-e7bdf5ebd4162172e79c00196061af625bd729f2.tar.gz egawk-e7bdf5ebd4162172e79c00196061af625bd729f2.tar.bz2 egawk-e7bdf5ebd4162172e79c00196061af625bd729f2.zip |
Clean up make_str_node macro.
Diffstat (limited to 'gawkapi.c')
-rw-r--r-- | gawkapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -634,7 +634,7 @@ api_sym_update_scalar(awk_ext_id_t id, * a number, we can avoid calling unref and then making a new node * by simply installing the new value. First, we follow the same * recipe used by node.c:r_unref to wipe the current values, and then - * we copy the logic from r_make_number or r_make_str_node to install + * we copy the logic from r_make_number or make_str_node to install * the new value. */ switch (value->val_type) { @@ -670,7 +670,7 @@ api_sym_update_scalar(awk_ext_id_t id, #endif free_wstr(r); - /* r_make_str_node(ALREADY_MALLOCED): */ + /* make_str_node(s, l, ALREADY_MALLOCED): */ r->numbr = 0; r->flags = (MALLOC|STRING|STRCUR); r->stfmt = -1; |