# takes a header file, outputs action ids
-import token, tokenize, os, sys, string
+import tokenize, sys, string
def filter(g):
while 1:
except:
pass
- raise "action enum must be simple."
+ raise Exception("action enum must be simple.")
counter = 0
if counter:
if t != ",":
- raise "no comma"
+ raise Exception("no comma")
t = tokens.next()
if firsthit: