diff --git a/build/make/ads2gas_apple.pl b/build/make/ads2gas_apple.pl index 78f4a97f5..a9740a826 100755 --- a/build/make/ads2gas_apple.pl +++ b/build/make/ads2gas_apple.pl @@ -157,8 +157,8 @@ while () s/\sPRESERVE8/@ PRESERVE8/g; # Strip PROC and ENDPROC - s/PROC/@/g; - s/ENDP/@/g; + s/\bPROC\b/@/g; + s/\bENDP\b/@/g; # EQU directive s/(.*)EQU(.*)/.set $1, $2/;