Skip to content

Commit

Permalink
Revert test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemkaKun committed Sep 8, 2023
1 parent e8ebe45 commit 8848382
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/c2v.v
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ mut:
translation_start_ticks i64 // initialised before the loop calling .translate_file()
has_cfile bool
returning_bool bool
generated_lines map[string]bool // to avoid generating the same line twice
}

fn empty_toml_doc() toml.Doc {
Expand Down Expand Up @@ -140,10 +139,6 @@ fn add_place_data_to_error(err IError) string {
}

fn (mut c C2V) genln(s string) {
// if s in c.generated_lines {
// return
// }

if c.indent > 0 && c.out_line_empty {
c.out.write_string(tabs[c.indent])
}
Expand All @@ -153,8 +148,6 @@ fn (mut c C2V) genln(s string) {
}
c.out.writeln(filter_line(s))
c.out_line_empty = true

// c.generated_lines[s] = true
}

fn (mut c C2V) gen(s string) {
Expand Down

0 comments on commit 8848382

Please sign in to comment.