X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/35905f2b4583efaa3d2dd52ec7bb834e6a571cc8..50977317cd10df482c3b35f61e9ee4522eee3c3b:/src/named-ref.h diff --git a/src/named-ref.h b/src/named-ref.h index 82b24fd0..00c972ce 100644 --- a/src/named-ref.h +++ b/src/named-ref.h @@ -1,6 +1,6 @@ /* Named symbol references for Bison - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2012 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -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);