Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x02lucpo committed Feb 10, 2006
1 parent 572b06b commit a1382cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/SimCodegen.rml
Expand Up @@ -555,7 +555,7 @@ end
relation generate_c_decl_for_string_array:(string,string,int) => string =

rule int_eq(number_of_strings,0) => true &
Util.string_append_list(["char* ",array_name," = NULL;\n"]) => res
Util.string_append_list(["char* ",array_name,"[1] = {\"\"};\n"]) => res
-----------------------------------
generate_c_decl_for_string_array(array_name,_,number_of_strings) => res

Expand Down

0 comments on commit a1382cb

Please sign in to comment.