From a2408e9d6a20995d750c955621a7506b71da5434 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 16 Apr 1996 14:36:46 +0000 Subject: [PATCH] Fixed code generated for an argument of type **** --- Mac/scripts/gensuitemodule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py index 2718e337945..97a08e60aed 100644 --- a/Mac/scripts/gensuitemodule.py +++ b/Mac/scripts/gensuitemodule.py @@ -331,7 +331,8 @@ def compileevent(fp, event): if is_enum(a[2]): kname = a[1] ename = a[2][0] - fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" % + if ename <> '****': + fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" % (`kname`, ename)) fp.write("\n") #