fix asm bug with empty lines for func names and trailing spaces for literals