Commit 74974a34 authored by Eli Zaretskii's avatar Eli Zaretskii

(add_declarator): Fix the first call to add_member_defn.

parent 2d88b556
......@@ -3251,7 +3251,7 @@ add_declarator (cls, id, flags, sc)
int pos = BUFFER_POS ();
if (cls)
add_member_defn (cls, *id, regexp, pos, 0, 1, SC_UNKNOWN, flags);
add_member_defn (*cls, *id, regexp, pos, 0, 1, SC_UNKNOWN, flags);
else
add_global_defn (*id, regexp, pos, 0, 1, sc, flags);
}
......
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