diff --git a/xform/rewriter.cpp b/xform/rewriter.cpp
index c6a5986f50ff15049743f3d67d7b32d86decf31c..487fef02a87d6e9cbd2909725ff2a1a8f61bb883 100644
--- a/xform/rewriter.cpp
+++ b/xform/rewriter.cpp
@@ -86,7 +86,7 @@ void Rewriter::readAnnotationFile(char p_filename[])
 
 			char name[20000];
 			/* found function declaration */
-			if(strcmp(scope,"GLOBAL")==0)
+			if(strcmp(scope,"GLOBAL")==0 || strcmp(scope,"LOCAL")==0)
 			{
 //   8048250     94 FUNC GLOBAL readString_xxx FUNC_UNSAFE USEFP RET    80482ad
 				/* remaining parameters are name {USEFP, NOFP}  */