git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move media player into plugin (patch by Moritz Venn, 001_enigma2_make_mediaplayer_a_p...
[enigma2.git]
/
lib
/
actions
/
parseactions.py
diff --git
a/lib/actions/parseactions.py
b/lib/actions/parseactions.py
index 683febd9a13f68c328696ccd465b56009972abd2..4ab71af79aa306cc47a9953e9ea658c66798ec38 100644
(file)
--- a/
lib/actions/parseactions.py
+++ b/
lib/actions/parseactions.py
@@
-1,6
+1,6
@@
# takes a header file, outputs action ids
# takes a header file, outputs action ids
-import token
, tokenize, os
, sys, string
+import token
ize
, sys, string
def filter(g):
while 1:
def filter(g):
while 1:
@@
-48,6
+48,11
@@
def do_file(f, mode):
if t == "enum" and state == classstate + 1:
actionname = tokens.next()
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:
if actionname[-7:] == "Actions":
if tokens.next() != "{":
try: