From 29c6cd873b248175564b7107ed2aea1c0dc04731 Mon Sep 17 00:00:00 2001
From: jdh8d <jdh8d@git.zephyr-software.com>
Date: Mon, 17 Jun 2013 16:07:54 +0000
Subject: [PATCH] Fixed meds2pdb to accept local functions, not just global
 funcs.

Former-commit-id: 744772d87669a169a20f8ecf2c775edee84c79f6
---
 xform/rewriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xform/rewriter.cpp b/xform/rewriter.cpp
index c6a5986f5..487fef02a 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}  */
-- 
GitLab