--- a/sbsv2/raptor/python/mmpparser.py Wed Aug 04 12:07:55 2010 +0100
+++ b/sbsv2/raptor/python/mmpparser.py Wed Oct 06 15:13:17 2010 +0100
@@ -74,7 +74,6 @@
Line(CaselessKeyword('APPLY') + String()) ^ \
Line(CaselessKeyword('ASSPLIBRARY') + StringList()) ^ \
Line(CaselessKeyword('CAPABILITY') + StringList()) ^ \
- Line(CaselessKeyword('DOCUMENT') + StringList()) ^ \
Line(CaselessKeyword('EPOCHEAPSIZE') + HexOrDecNumber() + HexOrDecNumber()) ^ \
Line(CaselessKeyword('EPOCPROCESSPRIORITY') + String()) ^ \
Line(CaselessKeyword('FIRSTLIB') + String()) ^ \
@@ -83,6 +82,7 @@
Line(CaselessKeyword('RAMTARGET') + String()) ^ \
Line(CaselessKeyword('TARGETTYPE') + String()) ^ \
Line(CaselessKeyword('TARGETPATH') + String()) ^ \
+ Line(CaselessKeyword('TRACES') + Optional(String())) ^ \
Line(CaselessKeyword('SYSTEMINCLUDE') + StringList()) ^ \
Line(CaselessKeyword('USERINCLUDE') + StringList()) ^ \
Line(CaselessKeyword('DEFFILE') + String()) ^ \
@@ -98,39 +98,22 @@
Line(CaselessKeyword('EPOCPROCESSPRIORITY') + String()) ^ \
Line(CaselessKeyword('NEWLIB') + String()) \
).setParseAction(self.backend.doAssignment) ^ \
- ( \
- Line(CaselessKeyword('SOURCE') + StringList()).setParseAction(self.backend.doSourceAssignment) \
- ).setParseAction(self.backend.doSourceAssignment) ^ \
- ( \
- Line(CaselessKeyword('RESOURCE') + StringList()).setParseAction(self.backend.doOldResourceAssignment) \
- ).setParseAction(self.backend.doOldResourceAssignment) ^ \
+ Line(CaselessKeyword('DOCUMENT') + StringList()).setParseAction(self.backend.doDocumentAssignment) ^ \
+ Line(CaselessKeyword('SOURCE') + StringList()).setParseAction(self.backend.doSourceAssignment) ^ \
+ Line(CaselessKeyword('RESOURCE') + StringList()).setParseAction(self.backend.doOldResourceAssignment) ^ \
( \
Line(CaselessKeyword('SYSTEMRESOURCE') + StringList()).setParseAction(self.backend.doResourceAssignment) \
).setParseAction(self.backend.doOldResourceAssignment) ^ \
( \
Line(CaselessKeyword('SOURCEPATH') + String()).setParseAction(self.backend.doSourceAssignment) \
).setParseAction(self.backend.doSourcePathAssignment) ^ \
- ( \
- Line((CaselessKeyword('UID') + Group(HexOrDecNumber() + Optional(HexOrDecNumber())))).setParseAction(self.backend.doUIDAssignment) \
- ).setParseAction(self.backend.doUIDAssignment) ^ \
- ( \
- Line(CaselessKeyword('LANG') + StringList()) \
- ).setParseAction(self.backend.doAppend) ^ \
- ( \
- Line(CaselessKeyword('LIBRARY') + StringList()) \
- ).setParseAction(self.backend.doAppend) ^ \
- ( \
- Line(CaselessKeyword('DEBUGLIBRARY') + StringList()) \
- ).setParseAction(self.backend.doAppend) ^ \
- ( \
- Line(CaselessKeyword('MACRO') + Optional(StringList())) \
- ).setParseAction(self.backend.doAppend) ^ \
- ( \
- Line(CaselessKeyword('AIF') + StringList()) \
- ).setParseAction(self.backend.doDeprecated) ^ \
- ( \
- Line(CaselessKeyword('STATICLIBRARY') + StringList()) \
- ).setParseAction(self.backend.doAppend)
+ Line((CaselessKeyword('UID') + Group(HexOrDecNumber() + Optional(HexOrDecNumber())))).setParseAction(self.backend.doUIDAssignment) ^ \
+ Line(CaselessKeyword('LANG') + StringList()).setParseAction(self.backend.doAppend) ^ \
+ Line(CaselessKeyword('LIBRARY') + StringList()).setParseAction(self.backend.doAppend) ^ \
+ Line(CaselessKeyword('DEBUGLIBRARY') + StringList()).setParseAction(self.backend.doAppend) ^ \
+ Line(CaselessKeyword('MACRO') + Optional(StringList())).setParseAction(self.backend.doAppend) ^ \
+ Line(CaselessKeyword('AIF') + StringList()).setParseAction(self.backend.doDeprecated) ^ \
+ Line(CaselessKeyword('STATICLIBRARY') + StringList()).setParseAction(self.backend.doAppend)
self.switch = \
(Line( \