Boston, MA 02111-1307, USA. */
#include "system.h"
+#include "complain.h"
#include "symlist.h"
}
+/*--------------------.
+| Return its length. |
+`--------------------*/
+
+unsigned int
+symbol_list_length (symbol_list_t *list)
+{
+ int res = 0;
+ for (/* Nothing. */; list; list = list->next)
+ ++res;
+ return res;
+}
+
+
/*--------------------------------------------------------------.
| Get the data type (alternative in the union) of the value for |
| symbol N in rule RULE. |