Skip to content

Commit

Permalink
added getName(double* ptr) to be generated in the c-code. This will b…
Browse files Browse the repository at this point in the history
…e used for DIVISION macros.

Redirected both stderr and stdout in the compile command to log-file

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2024 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x02lucpo committed Dec 21, 2005
1 parent 7e97d5d commit c377381
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Compiler/SimCodegen.rml
Expand Up @@ -254,7 +254,7 @@ end
Util.string_append_list(["char* getName( double* ",param_in_getName_function,")\n",
"{\n",
get_name_function_ifs_str,
"\n return "";\n}\n"]) => get_name_function &
"\n return \"\";\n}\n"]) => get_name_function &

Util.string_append_list(["\n",
"#define NHELP ", nh_str, "\n",
Expand Down Expand Up @@ -339,14 +339,6 @@ end
generate_global_data(_,_,_,_,_) => fail
end

relation generate_macros:() => string

rule
----------------------------
generate_macros() => str

end



(** relation: generate_var_names_and_comments
Expand Down

0 comments on commit c377381

Please sign in to comment.