generator: fix initialization of non string constant values