瀏覽代碼

Allow precompiled functions using the constructors as well

Yentl Van Tendeloo 9 年之前
父節點
當前提交
fce0ff4801
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bootstrap/constructors.alc

+ 1 - 0
bootstrap/constructors.alc

@@ -84,6 +84,7 @@ Action function construct_top_funcdef():
 	while (counter < nrParams):
 		param = create_node()
 		dict_add(params, string_get(arg_names_decl, counter), param)
+		dict_add(param, "name", string_get(arg_names_decl, counter))
 		output(param)
 		// Output each parameter in turn
 		counter = counter + 1