From 2be64a9bb186ac02e095d65e627fcb499df8606b Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Tue, 20 Dec 2005 21:29:03 +0000 Subject: [PATCH] parseactions: fix for unnamed enums --- lib/actions/parseactions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/actions/parseactions.py b/lib/actions/parseactions.py index 683febd9..d0c1aec3 100644 --- a/lib/actions/parseactions.py +++ b/lib/actions/parseactions.py @@ -48,6 +48,11 @@ def do_file(f, mode): if t == "enum" and state == classstate + 1: actionname = tokens.next() + if actionname == "{": + while tokens.next() != "}": + pass + continue + if actionname[-7:] == "Actions": if tokens.next() != "{": try: -- 2.30.2