mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +01:00
Error messages cleaned
This commit is contained in:
parent
1ed4a11827
commit
76224d6354
@ -54,286 +54,329 @@ class Line(object):
|
|||||||
lower = property(fget=get_lower)
|
lower = property(fget=get_lower)
|
||||||
|
|
||||||
class Empty_line(Line):
|
class Empty_line(Line):
|
||||||
|
str="Empty_line"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Empty_line",self.i,self.text)
|
return "%20s:%5d : %s"%("Empty_line",self.i,self.text)
|
||||||
|
|
||||||
class Simple_line(Line):
|
class Simple_line(Line):
|
||||||
|
str="Simple_line"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Simple_line",self.i,self.text)
|
return "%20s:%5d : %s"%("Simple_line",self.i,self.text)
|
||||||
|
|
||||||
class Declaration(Line):
|
class Declaration(Line):
|
||||||
|
str="Declaration"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Declaration",self.i,self.text)
|
return "%20s:%5d : %s"%("Declaration",self.i,self.text)
|
||||||
|
|
||||||
class Continue(Line):
|
class Continue(Line):
|
||||||
|
str="Continue"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Continue",self.i,self.text)
|
return "%20s:%5d : %s"%("Continue",self.i,self.text)
|
||||||
|
|
||||||
class Begin_provider(Line):
|
class Begin_provider(Line):
|
||||||
str = "Provider"
|
str="Begin_provider"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Begin_provider",self.i,self.text)
|
return "%20s:%5d : %s"%("Begin_provider",self.i,self.text)
|
||||||
|
|
||||||
class Cont_provider(Line):
|
class Cont_provider(Line):
|
||||||
|
str="Cont_provider"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Cont_provider",self.i,self.text)
|
return "%20s:%5d : %s"%("Cont_provider",self.i,self.text)
|
||||||
|
|
||||||
class End_provider(Line):
|
class End_provider(Line):
|
||||||
|
str="End_provider"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End_provider",self.i,self.text)
|
return "%20s:%5d : %s"%("End_provider",self.i,self.text)
|
||||||
|
|
||||||
class Begin_doc(Line):
|
class Begin_doc(Line):
|
||||||
|
str="Begin_doc"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Begin_doc",self.i,self.text)
|
return "%20s:%5d : %s"%("Begin_doc",self.i,self.text)
|
||||||
|
|
||||||
class Doc(Line):
|
class Doc(Line):
|
||||||
|
str="Doc"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Doc",self.i,self.text)
|
return "%20s:%5d : %s"%("Doc",self.i,self.text)
|
||||||
|
|
||||||
class End_doc(Line):
|
class End_doc(Line):
|
||||||
|
str="End_doc"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End_doc",self.i,self.text)
|
return "%20s:%5d : %s"%("End_doc",self.i,self.text)
|
||||||
|
|
||||||
class Begin_shell(Line):
|
class Begin_shell(Line):
|
||||||
|
str="Begin_shell"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Begin_shell",self.i,self.text)
|
return "%20s:%5d : %s"%("Begin_shell",self.i,self.text)
|
||||||
|
|
||||||
class End_shell(Line):
|
class End_shell(Line):
|
||||||
|
str="End_shell"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End_shell",self.i,self.text)
|
return "%20s:%5d : %s"%("End_shell",self.i,self.text)
|
||||||
|
|
||||||
class Begin_template(Line):
|
class Begin_template(Line):
|
||||||
|
str="Begin_template"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Begin_template",self.i,self.text)
|
return "%20s:%5d : %s"%("Begin_template",self.i,self.text)
|
||||||
|
|
||||||
class End_template(Line):
|
class End_template(Line):
|
||||||
|
str="End_template"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End_template",self.i,self.text)
|
return "%20s:%5d : %s"%("End_template",self.i,self.text)
|
||||||
|
|
||||||
class Subst(Line):
|
class Subst(Line):
|
||||||
|
str="Subst"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Subst",self.i,self.text)
|
return "%20s:%5d : %s"%("Subst",self.i,self.text)
|
||||||
|
|
||||||
class Assert(Line):
|
class Assert(Line):
|
||||||
|
str="Assert"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Assert",self.i,self.text)
|
return "%20s:%5d : %s"%("Assert",self.i,self.text)
|
||||||
|
|
||||||
class Touch(Line):
|
class Touch(Line):
|
||||||
|
str="Touch"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Touch",self.i,self.text)
|
return "%20s:%5d : %s"%("Touch",self.i,self.text)
|
||||||
|
|
||||||
class SoftTouch(Touch):
|
class SoftTouch(Touch):
|
||||||
|
str="SoftTouch"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("SoftTouch",self.i,self.text)
|
return "%20s:%5d : %s"%("SoftTouch",self.i,self.text)
|
||||||
|
|
||||||
class Irp_read(Line):
|
class Irp_read(Line):
|
||||||
|
str="Irp_read"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Irp_read",self.i,self.text)
|
return "%20s:%5d : %s"%("Irp_read",self.i,self.text)
|
||||||
|
|
||||||
class Irp_write(Line):
|
class Irp_write(Line):
|
||||||
|
str="Irp_write"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Irp_write",self.i,self.text)
|
return "%20s:%5d : %s"%("Irp_write",self.i,self.text)
|
||||||
|
|
||||||
class Irp_If(Line):
|
class Irp_If(Line):
|
||||||
|
str="Irp_If"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Irp_If",self.i,self.text)
|
return "%20s:%5d : %s"%("Irp_If",self.i,self.text)
|
||||||
|
|
||||||
class Irp_Else(Line):
|
class Irp_Else(Line):
|
||||||
|
str="Irp_Else"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Irp_Else",self.i,self.text)
|
return "%20s:%5d : %s"%("Irp_Else",self.i,self.text)
|
||||||
|
|
||||||
class Irp_Endif(Line):
|
class Irp_Endif(Line):
|
||||||
|
str="Irp_Endif"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Irp_Endif",self.i,self.text)
|
return "%20s:%5d : %s"%("Irp_Endif",self.i,self.text)
|
||||||
|
|
||||||
class Openmp(Line):
|
class Openmp(Line):
|
||||||
|
str="Openmp"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Openmp",self.i,self.text)
|
return "%20s:%5d : %s"%("Openmp",self.i,self.text)
|
||||||
|
|
||||||
class Directive(Line):
|
class Directive(Line):
|
||||||
|
str="Directive"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Directive",self.i,self.text)
|
return "%20s:%5d : %s"%("Directive",self.i,self.text)
|
||||||
|
|
||||||
class Use(Line):
|
class Use(Line):
|
||||||
|
str="Use"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Use",self.i,self.text)
|
return "%20s:%5d : %s"%("Use",self.i,self.text)
|
||||||
|
|
||||||
class Do(Line):
|
class Do(Line):
|
||||||
|
str="Do"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Do",self.i,self.text)
|
return "%20s:%5d : %s"%("Do",self.i,self.text)
|
||||||
|
|
||||||
class Enddo (Line):
|
class Enddo (Line):
|
||||||
|
str="Enddo"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Enddo",self.i,self.text)
|
return "%20s:%5d : %s"%("Enddo",self.i,self.text)
|
||||||
|
|
||||||
class If(Line):
|
class If(Line):
|
||||||
|
str="If"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("If",self.i,self.text)
|
return "%20s:%5d : %s"%("If",self.i,self.text)
|
||||||
|
|
||||||
class Elseif(Line):
|
class Elseif(Line):
|
||||||
|
str="Elseif"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Elseif",self.i,self.text)
|
return "%20s:%5d : %s"%("Elseif",self.i,self.text)
|
||||||
|
|
||||||
class Else(Line):
|
class Else(Line):
|
||||||
|
str="Else"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Else",self.i,self.text)
|
return "%20s:%5d : %s"%("Else",self.i,self.text)
|
||||||
|
|
||||||
class Endif(Line):
|
class Endif(Line):
|
||||||
|
str="Endif"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Endif",self.i,self.text)
|
return "%20s:%5d : %s"%("Endif",self.i,self.text)
|
||||||
|
|
||||||
class Select(Line):
|
class Select(Line):
|
||||||
|
str="Select"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Select",self.i,self.text)
|
return "%20s:%5d : %s"%("Select",self.i,self.text)
|
||||||
|
|
||||||
class Case(Line):
|
class Case(Line):
|
||||||
|
str="Case"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Case",self.i,self.text)
|
return "%20s:%5d : %s"%("Case",self.i,self.text)
|
||||||
|
|
||||||
class End_select(Line):
|
class End_select(Line):
|
||||||
|
str="End_select"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End_select",self.i,self.text)
|
return "%20s:%5d : %s"%("End_select",self.i,self.text)
|
||||||
|
|
||||||
class Program(Line):
|
class Program(Line):
|
||||||
str = "Program"
|
str="Program"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Program",self.i,self.text)
|
return "%20s:%5d : %s"%("Program",self.i,self.text)
|
||||||
|
|
||||||
class Subroutine(Line):
|
class Subroutine(Line):
|
||||||
str = "Subroutine"
|
str="Subroutine"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Subroutine",self.i,self.text)
|
return "%20s:%5d : %s"%("Subroutine",self.i,self.text)
|
||||||
|
|
||||||
class Function(Line):
|
class Function(Line):
|
||||||
str = "Function"
|
str="Function"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Function",self.i,self.text)
|
return "%20s:%5d : %s"%("Function",self.i,self.text)
|
||||||
|
|
||||||
class Call(Line):
|
class Call(Line):
|
||||||
|
str="Call"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Call",self.i,self.text)
|
return "%20s:%5d : %s"%("Call",self.i,self.text)
|
||||||
|
|
||||||
class Provide(Line):
|
class Provide(Line):
|
||||||
|
str="Provide"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Provide",self.i,self.text)
|
return "%20s:%5d : %s"%("Provide",self.i,self.text)
|
||||||
|
|
||||||
class NoDep(Line):
|
class NoDep(Line):
|
||||||
|
str="NoDep"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("NoDep",self.i,self.text)
|
return "%20s:%5d : %s"%("NoDep",self.i,self.text)
|
||||||
|
|
||||||
class Return (Line):
|
class Return (Line):
|
||||||
|
str="Return"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Return",self.i,self.text)
|
return "%20s:%5d : %s"%("Return",self.i,self.text)
|
||||||
|
|
||||||
class Include(Line):
|
class Include(Line):
|
||||||
|
str="Include"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Include",self.i,self.text)
|
return "%20s:%5d : %s"%("Include",self.i,self.text)
|
||||||
|
|
||||||
class Implicit (Line):
|
class Implicit (Line):
|
||||||
|
str="Implicit"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Implicit",self.i,self.text)
|
return "%20s:%5d : %s"%("Implicit",self.i,self.text)
|
||||||
|
|
||||||
class Free(Line):
|
class Free(Line):
|
||||||
|
str="Free"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("Free",self.i,self.text)
|
return "%20s:%5d : %s"%("Free",self.i,self.text)
|
||||||
|
|
||||||
class End(Line):
|
class End(Line):
|
||||||
|
str="End"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "%20s:%5d : %s"%("End",self.i,self.text)
|
return "%20s:%5d : %s"%("End",self.i,self.text)
|
||||||
|
|
||||||
class Provide_all (Line):
|
class Provide_all (Line):
|
||||||
|
str="Provide_all"
|
||||||
def __init__(self,i,text,filename):
|
def __init__(self,i,text,filename):
|
||||||
Line.__init__(self,i,text,filename)
|
Line.__init__(self,i,text,filename)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user