Assertion failure on compile with attached testcase.
Linux x86_64
g++ (Ubuntu 7.4.0-9ubuntu1~18.04.york0) 7.4.0
iverilog 10.1
Output is:
ivl: verinum.cc:71: std::__cxx11::string process_verilog_string_quotes(const string&): Assertion `idx < str_len' failed.
Aborted
This also fails on the latest version from git. The only difference in output seems to be that it is now on line 72 instead of 71.
Pushed fixes for this to both git master and v10-branch. The solution is to detect a nil character in a string literal, and report that as an error.