make the unicode tables const

This commit is contained in:
q66 2018-01-02 23:40:56 +01:00
parent af635dc77a
commit 34b27cd1c1

View file

@ -195,7 +195,7 @@ struct parse_state {
return; return;
} }
format( format(
writer, "static char32_t %s_%s[][%d] = {\n", writer, "static char32_t const %s_%s[][%d] = {\n",
name, aname, ncol name, aname, ncol
); );
for (std::size_t j = 0; j < col1.size(); ++j) { for (std::size_t j = 0; j < col1.size(); ++j) {