OpenCores
URL https://opencores.org/ocsvn/ssbcc/ssbcc/trunk

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [asmDef.py] - Diff between revs 9 and 11

Show entire file | Details | Blame | View Log

Rev 9 Rev 11
Line 108... Line 108...
        self.included.append(self.pendingInclude);
        self.included.append(self.pendingInclude);
        fp_pending = None;
        fp_pending = None;
        for path in self.searchPaths:
        for path in self.searchPaths:
          fullInclude = os.path.join(path,self.pendingInclude);
          fullInclude = os.path.join(path,self.pendingInclude);
          if os.path.exists(fullInclude):
          if os.path.exists(fullInclude):
            fp_pending = open('%s/%s' % (path,self.pendingInclude),'r');
            fp_pending = open('%s/%s' % (path,self.pendingInclude),'rt');
            break;
            break;
        else:
        else:
          raise AsmException('%s not found' % self.pendingInclude);
          raise AsmException('%s not found' % self.pendingInclude);
        self.fpStack.append(dict(fp=fp_pending, line=0));
        self.fpStack.append(dict(fp=fp_pending, line=0));
        self.pendingInclude = None;
        self.pendingInclude = None;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.