debugger: also strip 'enum' before looking up types

This commit is contained in:
hjk
2010-07-02 17:03:35 +02:00
parent f9edf59c21
commit d0c2e11a95

View File

@@ -105,10 +105,8 @@ def lookupType(typestring):
ts = ts[6:]
elif ts.startswith("volatile "):
ts = ts[9:]
elif ts.startswith("const "):
ts = ts[6:]
elif ts.startswith("volatile "):
ts = ts[9:]
elif ts.startswith("enum "):
ts = ts[5:]
elif ts.endswith("const"):
ts = ts[-5:]
elif ts.endswith("volatile"):