@@ -41,7 +41,7 @@ void scanMachObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol
4141
4242 void corrupt (int reason)
4343 {
44- error(loc, " corrupt Mach-O object module %s %d" , module_name, reason);
44+ error(loc, " corrupt Mach-O object module `%s` %d" , module_name, reason);
4545 }
4646
4747 const buf = base.ptr;
@@ -58,12 +58,12 @@ void scanMachObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol
5858 {
5959 if (header.cputype != CPU_TYPE_I386 )
6060 {
61- error(loc, " Mach-O object module %s has cputype = %d, should be %d" , module_name, header.cputype, CPU_TYPE_I386 );
61+ error(loc, " Mach-O object module `%s` has cputype = %d, should be %d" , module_name, header.cputype, CPU_TYPE_I386 );
6262 return ;
6363 }
6464 if (header.filetype != MH_OBJECT )
6565 {
66- error(loc, " Mach-O object module %s has file type = %d, should be %d" , module_name, header.filetype, MH_OBJECT );
66+ error(loc, " Mach-O object module `%s` has file type = %d, should be %d" , module_name, header.filetype, MH_OBJECT );
6767 return ;
6868 }
6969 if (buflen < mach_header.sizeof + header.sizeofcmds)
@@ -77,12 +77,12 @@ void scanMachObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol
7777 return corrupt (__LINE__ );
7878 if (header64.cputype != CPU_TYPE_X86_64 )
7979 {
80- error(loc, " Mach-O object module %s has cputype = %d, should be %d" , module_name, header64.cputype, CPU_TYPE_X86_64 );
80+ error(loc, " Mach-O object module `%s` has cputype = %d, should be %d" , module_name, header64.cputype, CPU_TYPE_X86_64 );
8181 return ;
8282 }
8383 if (header64.filetype != MH_OBJECT )
8484 {
85- error(loc, " Mach-O object module %s has file type = %d, should be %d" , module_name, header64.filetype, MH_OBJECT );
85+ error(loc, " Mach-O object module `%s` has file type = %d, should be %d" , module_name, header64.filetype, MH_OBJECT );
8686 return ;
8787 }
8888 if (buflen < mach_header_64.sizeof + header64.sizeofcmds)
0 commit comments