# HG changeset patch
# User lbessard
# Date 1243489658 -7200
# Node ID 054fbf1ae0f8f0869c869c2e3906979822dbf12d
# Parent  2ba1aea5c70d8a6c6189db3bb962d8b4eec21826
Bug while parsing long located variables in GetLocations fixed

diff -r 2ba1aea5c70d -r 054fbf1ae0f8 plugger.py
--- a/plugger.py	Fri May 22 10:27:55 2009 +0200
+++ b/plugger.py	Thu May 28 07:47:38 2009 +0200
@@ -893,7 +893,7 @@
             # each line of LOCATED_VARIABLES.h declares a located variable
             lines = [line.strip() for line in location_file.readlines()]
             # This regular expression parses the lines genereated by IEC2C
-            LOCATED_MODEL = re.compile("__LOCATED_VAR\((?P<IEC_TYPE>[A-Z]*),(?P<NAME>[_A-Za-z0-9]*),(?P<DIR>[QMI])(?:,(?P<SIZE>[XBWD]))?,(?P<LOC>[,0-9]*)\)")
+            LOCATED_MODEL = re.compile("__LOCATED_VAR\((?P<IEC_TYPE>[A-Z]*),(?P<NAME>[_A-Za-z0-9]*),(?P<DIR>[QMI])(?:,(?P<SIZE>[XBWDL]))?,(?P<LOC>[,0-9]*)\)")
             for line in lines:
                 # If line match RE, 
                 result = LOCATED_MODEL.match(line)