+/*--------------------------------.
+| Get symbol N in symbol list L. |
+`--------------------------------*/
+
+symbol_list *
+symbol_list_n_get (symbol_list *l, int n)
+{
+ int i;
+
+ if (n < 0)
+ return NULL;
+
+ for (i = 0; i < n; ++i)
+ {
+ l = l->next;
+ if (l == NULL || l->sym == NULL)
+ return NULL;
+ }
+
+ return l;
+}
+
+