Example #1
0
 def DispatchString(self,s):
     x86sourceLogger.info(s.rstrip()) #don't want extra newline
     s = s.strip()
     if not s:
         pass #blank line
     elif s[0] == "!":
         self.dispatchDirective(s)
     else:
         self.dispatchStatement(s)
Example #2
0
def _log_header(text):
    line = "=" * len(text)
    x86sourceLogger.info(line)
    x86sourceLogger.info(text)
    x86sourceLogger.info(line)
    x86sourceLogger.info('')