fix line number for PragmaDeclaration
check that mangling only contains printable non-space characters