fnlabel = get_fnlabel(packline[0]) if len(packline[1]) == 0: fnlabel = '' linenumber = get_linenumber(packline[0]) ichanged, tok = doparse.do_line(packline[1], linenumber, fnlabel) if ichanged == 0: print_original__isl_on('', packline) elif ichanged == 1: print_original__isl_on(thisprogram, packline) nspc = count_spc__il_oi(packline[0]) cmd = make_list_recur__ili_ol(nspc, tok, fnlabel) for nn in cmd: print nn #---main--- thisfunc = "main" argv = sys.argv argc = len(argv) #print argc,argv if argc != 4: print "error arg must be 3" sys.exit(10) cmdvar = t_var3(argv[1], argv[2], argv[3]) print thisprogram, "cmdvar=", cmdvar #constructure fline = mFLine.FLine() contline = fline.get__in_ol() do_main(contline, cmdvar)
def __init__(self): self.fline = mFLine.FLine() contline = self.fline.get__in_ol() self.indentstack = [] self.do_main(contline)