X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/48b16bbc0492820cf1fdb683b289c77f4cdadb3d..12e3584054c16ab255672c07af0ffc7bb220e8bc:/src/muscle_tab.c diff --git a/src/muscle_tab.c b/src/muscle_tab.c index 3e0fb289..2d71085e 100644 --- a/src/muscle_tab.c +++ b/src/muscle_tab.c @@ -20,6 +20,7 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include "system.h" #include @@ -117,9 +118,9 @@ muscle_insert (const char *key, char *value) /*-------------------------------------------------------------------. -| Insert (KEY, VALUE). If KEY already existed, overwrite the | -| previous value. Uses MUSCLE_OBSTACK. De-allocates the previously | -| associated value. VALUE and SEPARATOR are copied. | +| Append VALUE to the current value of KEY. If KEY did not already | +| exist, create it. Use MUSCLE_OBSTACK. De-allocate the previously | +| associated value. Copy VALUE and SEPARATOR. | `-------------------------------------------------------------------*/ void @@ -197,7 +198,7 @@ void muscle_pair_list_grow (const char *muscle, | Find the value of muscle KEY. | `-------------------------------*/ -char* +char * muscle_find (const char *key) { muscle_entry probe;