/* Keeping a unique copy of strings.
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2008 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
/* Two uniqstr values have the same value iff they are the same. */
#define UNIQSTR_EQ(USTR1, USTR2) ((USTR1) == (USTR2))
+/* Compare two uniqstr a la strlen: negative for <, nul for =, and
+ positive for >. */
+#define UNIQSTR_CMP(USTR1, USTR2) ((USTR1) - (USTR2))
+
/*--------------------------------------.
| Initializing, destroying, debugging. |
`--------------------------------------*/