From 7c479cf32525db777706fc8369599c577e5eeb31 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 1 Nov 1991 10:17:30 +0000 Subject: [PATCH] Fixed error in debugger support for enumeration constants --- lang/m2/comp/stab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/m2/comp/stab.c b/lang/m2/comp/stab.c index dc923819c..604374155 100644 --- a/lang/m2/comp/stab.c +++ b/lang/m2/comp/stab.c @@ -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;