Skip to content
Snippets Groups Projects
Commit 5570c9ff authored by Daniel Tuulik's avatar Daniel Tuulik
Browse files

Avoid generating system_implementation.pr for SDL function instances

parent a548fe1f
Branches multi-instance
No related tags found
No related merge requests found
......@@ -68,8 +68,9 @@ void Create_New_SDL_Structure(FV * fv)
char *filename = make_string("%s.pr", fv->name);
/* If not already existing, also create an empty system_implementation.pr
* file - includes timer declarations, if any */
if (!file_exists (path, filename)) {
* file - includes timer declarations, if any.
* Do not create in case the function is an instance of a generic function*/
if (!file_exists (path, filename) && (NULL == fv->instance_of)) {
create_file (path, filename, &process);
if (fv->is_component_type == false) {
fprintf (process, "PROCESS %s;\n", fv->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