Skip to content
Snippets Groups Projects
Commit c09814d5 authored by Nathan PERIER's avatar Nathan PERIER
Browse files

Actually add the constructor through the context so they are referenced

parent 3a4155f6
No related branches found
No related tags found
No related merge requests found
......@@ -113,9 +113,9 @@ public class TypedefParser {
String name = it.next().getString();
if(it.peek().getType() == TokenType.OF) {
it.junk();
t.addConstructor(name, TypeParser.parse(it, ctx));
ctx.addConstructor(t, name, TypeParser.parse(it, ctx));
} else {
t.addConstructor(name);
ctx.addConstructor(t, name);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment