Commit 9f5a153f authored by Dag Haavi Finstad's avatar Dag Haavi Finstad Committed by Lasse Karstensen

Get the name token out of the way prior to looking for a ',' or ')'.

parent efdd0254
......@@ -645,8 +645,8 @@ def parse_func(tl, rt_type=None, pobj=None):
t = tl.get_token()
if is_c_name(t.str):
al[-1].nam = t.str
t = None
elif t.str == ",":
t = tl.get_token()
if t.str == ",":
t = None
elif t.str == ")":
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment