Commit 6728ac74 authored by Dag Haavi Finstad's avatar Dag Haavi Finstad

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

parent 1473576f
......@@ -647,8 +647,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