Skip to content

Commit

Permalink
Create cppia output folder if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Mar 1, 2023
1 parent ed1622a commit ac70de3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generators/gencpp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8440,6 +8440,7 @@ let generate_script_enum common_ctx script enum_def meta =
let generate_cppia ctx =
let common_ctx = ctx.ctx_common in
let debug = ctx.ctx_debug_level in
Path.mkdir_from_path common_ctx.file;
let script = new script_writer ctx common_ctx.file common_ctx.debug in
ignore (script#stringId "");
ignore (script#typeId "");
Expand Down

0 comments on commit ac70de3

Please sign in to comment.