Fixed error in debugger support for enumeration constants
authorceriel <none@none>
Fri, 1 Nov 1991 10:17:30 +0000 (10:17 +0000)
committerceriel <none@none>
Fri, 1 Nov 1991 10:17:30 +0000 (10:17 +0000)
lang/m2/comp/stab.c

index dc92381..6043741 100644 (file)
@@ -372,7 +372,7 @@ stb_string(df, kind)
                case T_ENUMERATION:
                        addc_db_str('e');
                        stb_type(tp, 0);
-                       adds_db_str(sprint(buf, ",%ld;", df->enm_val));
+                       adds_db_str(sprint(buf, ",%ld;", df->con_const.TOK_INT));
                        break;
                case T_SET: {
                        register int i;