mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 11:53:32 +01:00
Added soft_touch
Version:1.1.48
This commit is contained in:
parent
7e45583978
commit
f4d5322d15
@ -137,6 +137,12 @@ class Touch(Line):
|
|||||||
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):
|
||||||
|
def __init__(self,i,text,filename):
|
||||||
|
Line.__init__(self,i,text,filename)
|
||||||
|
def __repr__(self):
|
||||||
|
return "%20s:%5d : %s"%("SoftTouch",self.i,self.text)
|
||||||
|
|
||||||
class Irp_read(Line):
|
class Irp_read(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)
|
||||||
|
@ -180,7 +180,10 @@ def get_parsed_text():
|
|||||||
error.fail(line,"Variable %s unknown"%(x,))
|
error.fail(line,"Variable %s unknown"%(x,))
|
||||||
return ([],Simple_line(line.i," %s_is_built = .True."%(x,),line.filename))
|
return ([],Simple_line(line.i," %s_is_built = .True."%(x,),line.filename))
|
||||||
result += map( fun, main_vars[:-1] )
|
result += map( fun, main_vars[:-1] )
|
||||||
result += [ ([],Provide_all(line.i,"! <<< END TOUCH",line.filename)) ]
|
if isinstance(line,SoftTouch):
|
||||||
|
result += [ ([],Simple_line(line.i,"! <<< END TOUCH (Soft)",line.filename)) ]
|
||||||
|
else:
|
||||||
|
result += [ ([],Provide_all(line.i,"! <<< END TOUCH",line.filename)) ]
|
||||||
elif type(line) in [ Begin_provider, Cont_provider ]:
|
elif type(line) in [ Begin_provider, Cont_provider ]:
|
||||||
if isinstance(line,Begin_provider):
|
if isinstance(line,Begin_provider):
|
||||||
varlist = []
|
varlist = []
|
||||||
|
@ -58,6 +58,7 @@ simple_dict = {
|
|||||||
"end_provider": End_provider ,
|
"end_provider": End_provider ,
|
||||||
"assert": Assert ,
|
"assert": Assert ,
|
||||||
"touch": Touch ,
|
"touch": Touch ,
|
||||||
|
"soft_touch": SoftTouch ,
|
||||||
"provide": Provide ,
|
"provide": Provide ,
|
||||||
"free": Free ,
|
"free": Free ,
|
||||||
"irp_if": Irp_If ,
|
"irp_if": Irp_If ,
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "1.1.47"
|
version = "1.1.48"
|
||||||
|
Loading…
Reference in New Issue
Block a user