diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-30 20:18:48 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-30 20:18:48 +0200 |
commit | 7daad40ca408732786d46fee8b5485bf45595807 (patch) | |
tree | 5458b6f3b56f50cca341b6f8962a73999f3e49bd /frontends/verilog/preproc.cc | |
parent | 6400ae36489a7ada5419d7bc502934f6d05e69bb (diff) | |
download | yosys-7daad40ca408732786d46fee8b5485bf45595807.tar.gz yosys-7daad40ca408732786d46fee8b5485bf45595807.tar.bz2 yosys-7daad40ca408732786d46fee8b5485bf45595807.zip |
Fixed counting verilog line numbers for "// synopsys translate_off" sections
Diffstat (limited to 'frontends/verilog/preproc.cc')
-rw-r--r-- | frontends/verilog/preproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/preproc.cc b/frontends/verilog/preproc.cc index 9ff68822e..2cfa8ca76 100644 --- a/frontends/verilog/preproc.cc +++ b/frontends/verilog/preproc.cc @@ -300,7 +300,7 @@ std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::m input_file(fp, fn); fclose(fp); } else - output_code.push_back("`file_notfound " + fn + "\n"); + output_code.push_back("`file_notfound " + fn); continue; } |