]> granicus.if.org Git - libvpx/commitdiff
Fix incorrect PROC/ENDP match
authorJohann <johannkoenig@google.com>
Tue, 13 Dec 2011 01:17:07 +0000 (17:17 -0800)
committerJohann <johannkoenig@google.com>
Tue, 13 Dec 2011 18:40:34 +0000 (10:40 -0800)
The conversion script was incorrectly matching
CONFIG_POSTPROC[_VISUALIZER] and generating an
incorrect vpx_config.asm

Match both PROC and ENDP on word boundaries

Change-Id: Ic2788c3b522d4ee0afc5223b72e1b09fb52645be

build/make/ads2gas_apple.pl

index 78f4a97f52d390d515c7495055b43d4c33cce9c4..a9740a8260c91de9884adb5639fe36dc1cdfe170 100755 (executable)
@@ -157,8 +157,8 @@ while (<STDIN>)
     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/;