+void
+inc_cbi()
+{
+ cbi++;
+}
+
+void
+set_class_label(char* label)
+{
+ cdat_buf[cbi].label = $1;
+}
+
+void
+inc_subclass_idx()
+{
+ cdat_buf[cbi].subclass_index++;
+}
+
+void
+inc_set_index()
+{
+ odat_buf[cbi].set_index++;
+}
+
+void
+inc_ref()
+{
+ odat_buf[obi].ref_index++;
+ odat_buf[obi].num_ref++;
+}
+
+//TODO: This needs to be changed to account for
+// when the set is of a subclass.
+void
+inc_ele()
+{
+ cdat_buf[cbi].set_stack[stack_index].num_ele++;
+}