Commit f0a9eef2 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix Vdm return params

parent 9e3040bc
......@@ -81,7 +81,7 @@ void add_pi_to_vdm_gw(Interface * i)
if (NULL == interface)
return;
char *signature = make_string("public PI_%s:",
char *signature = make_string(" public PI_%s: ",
i->name);
......@@ -125,6 +125,9 @@ void add_pi_to_vdm_gw(Interface * i)
}
free(out);
}
else {
fprintf(interface, " ==> ()\n");
}
fprintf(interface,
"\n"
......@@ -136,7 +139,7 @@ void add_pi_to_vdm_gw(Interface * i)
fprintf(user_code,
"\n"
"%s%s == -- Write your code here\n\n",
" %s%s == -- Write your code here\n\n",
i->name,
NULL != i->in? params: "");
}
......
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