X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/686e83e396696572171fad32f440cc279ab82a75..8f462efe923947cc4e72deea5b0fa93a5f88000d:/src/named-ref.h?ds=inline diff --git a/src/named-ref.h b/src/named-ref.h index 0f96e463..46d9d8d4 100644 --- a/src/named-ref.h +++ b/src/named-ref.h @@ -37,6 +37,9 @@ typedef struct named_ref /* Allocate a named reference object. */ named_ref *named_ref_new (uniqstr id, location loc); +/* Allocate and return a copy. */ +named_ref *named_ref_copy (const named_ref *r); + /* Free a named reference object. */ void named_ref_free (named_ref *r);