CodeBlocks1908/share/CodeBlocks/images/fortranproject/gdb_fortran_extensions_v1.0.py
def split_args(self, args):
        """ Splits args into separate values. 
            I.e. 'var1(:) var2(:)' to ['var1(:)', 'var2(:)']
        """
        while args.find(' (') != -1:
            args = args.replace(' (', '(')
        while args.find(' %') != -1:
            args = args.replace(' %', '%')
        while args.find('% ') != -1:
            args = args.replace('% ', '%')
            
        args = args.strip()
        inArg = False
        nBrIn = 0
        args_l = []
        
        for i in range(len(args)):
            s1 = args[i]
            if (not inArg) and (s1.isalpha() or s1 == '_'):
                inArg = True
                argSt = i
            elif inArg and s1 == '(':
                nBrIn += 1
            elif inArg and s1 == ')':
                nBrIn -= 1
            elif nBrIn == 0 and s1.isspace():
                args_l.append(args[argSt:i])
                inArg = False
            
        if inArg:
            args_l.append(args[argSt:])
            
        return args_l
 Splits args into separate values. 
            I.e. 'var1(:) var2(:)' to ['var1(:)', 'var2(:)']
        
Splits args into separate values.
Splits args into separate values .
def split_args(self, args):
        while args.find(' (') != -1:
            args = args.replace(' (', '(')
        while args.find(' %') != -1:
            args = args.replace(' %', '%')
        while args.find('% ') != -1:
            args = args.replace('% ', '%')
        args = args.strip()
        inArg = False
        nBrIn = 0
        args_l = []
        for i in range(len(args)):
            s1 = args[i]
            if (not inArg) and (s1.isalpha() or s1 == '_'):
                inArg = True
                argSt = i
            elif inArg and s1 == '(':
                nBrIn += 1
            elif inArg and s1 == ')':
                nBrIn -= 1
            elif nBrIn == 0 and s1.isspace():
                args_l.append(args[argSt:i])
                inArg = False
        if inArg:
            args_l.append(args[argSt:])
        return args_l
def split_args ( self , args ) : while args . find ( ' (' ) != - 1 : args = args . replace ( ' (' , '(' ) while args . find ( ' %' ) != - 1 : args = args . replace ( ' %' , '%' ) while args . find ( '% ' ) != - 1 : args = args . replace ( '% ' , '%' ) args = args . strip ( ) inArg = False nBrIn = 0 args_l = [ ] for i in range ( len ( args ) ) : s1 = args [ i ] if ( not inArg ) and ( s1 . isalpha ( ) or s1 == '_' ) : inArg = True argSt = i elif inArg and s1 == '(' : nBrIn += 1 elif inArg and s1 == ')' : nBrIn -= 1 elif nBrIn == 0 and s1 . isspace ( ) : args_l . append ( args [ argSt : i ] ) inArg = False if inArg : args_l . append ( args [ argSt : ] ) return args_l
Splits args into separate values.
Splits args into separate values .
""" Splits args into separate values. 
            I.e. 'var1(:) var2(:)' to ['var1(:)', 'var2(:)']
        """
self
args