コード例 #1
0
ファイル: skoolasm.py プロジェクト: sahwar/skoolkit
 def expand_udgarray(self, text, index):
     if self.handle_unsupported_macros:
         if index < len(text) and text[index] == '*':
             end = skoolmacro.parse_udgarray_with_frames(text, index)[0]
         else:
             end = skoolmacro.parse_udgarray(text, index)[0]
         return end, ''
     raise skoolmacro.UnsupportedMacroError()
コード例 #2
0
ファイル: skoolasm.py プロジェクト: Wolfe-Lyon/skoolkit
 def expand_udgarray(self, text, index):
     if self.handle_unsupported_macros:
         if index < len(text) and text[index] == '*':
             end = skoolmacro.parse_udgarray_with_frames(text, index)[0]
         else:
             end = skoolmacro.parse_udgarray(text, index)[0]
         return end, ''
     raise UnsupportedMacroError()