diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-12-20 21:29:03 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-12-20 21:29:03 +0000 |
| commit | 2be64a9bb186ac02e095d65e627fcb499df8606b (patch) | |
| tree | 01003bb4d7c60d79367eaad7fa8bccaabfb478f7 /lib | |
| parent | bac62ae64bc2b0cba82a26daec4b3623cae3a859 (diff) | |
| download | enigma2-2be64a9bb186ac02e095d65e627fcb499df8606b.tar.gz enigma2-2be64a9bb186ac02e095d65e627fcb499df8606b.zip | |
parseactions: fix for unnamed enums
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/actions/parseactions.py | 5 |
1 files changed, 5 insertions, 0 deletions
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: |
