Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-ide
Commits
aac152c9
Commit
aac152c9
authored
Jan 21, 2009
by
John van Groningen
Browse files
add function start and move cont and stop to PmCallBack
parent
fd5b6042
Changes
3
Show whitespace changes
Inline
Side-by-side
Ide/PmCallBack.dcl
View file @
aac152c9
...
@@ -3,3 +3,7 @@ definition module PmCallBack
...
@@ -3,3 +3,7 @@ definition module PmCallBack
from
IdeState
import
::
General
,::
PSt
from
IdeState
import
::
General
,::
PSt
::
*
GeneralSt
:==
PSt
General
::
*
GeneralSt
:==
PSt
General
start
::
!.
a
!(.
Bool
->
.(.
a
->
.(*
GeneralSt
->
*(.
a
,*
GeneralSt
))))
!*
GeneralSt
->
*
GeneralSt
cont
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
stop
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
Ide/PmCallBack.icl
View file @
aac152c9
implementation
module
PmCallBack
implementation
module
PmCallBack
from
IdeState
import
::
General
,::
PSt
,::
Id
,
getInterrupt
from
interrupt
import
StartIntr
,
ContIntr
,
StopIntr
::
*
GeneralSt
:==
PSt
General
start
::
!.
a
!(.
Bool
->
.(.
a
->
.(*
GeneralSt
->
*(.
a
,*
GeneralSt
))))
!*
GeneralSt
->
*
GeneralSt
start
ini_step
step
ps
#!
(
intr_info
,
ps
)
=
getInterrupt
ps
=
StartIntr
intr_info
ini_step
step
ps
cont
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
cont
(
ls
,
ps
)
#
(
intr_info
,
ps
)
=
getInterrupt
ps
#
ps
=
ContIntr
intr_info
ps
=
(
ls
,
ps
)
stop
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
stop
(
ls
,
ps
)
#
(
intr_info
,
ps
)
=
getInterrupt
ps
#
ps
=
StopIntr
intr_info
ps
=
(
ls
,
ps
)
Pm/PmDriver.icl
View file @
aac152c9
...
@@ -143,11 +143,8 @@ BringProjectUptoDate force continuation ps
...
@@ -143,11 +143,8 @@ BringProjectUptoDate force continuation ps
#
ps
=
showInfo
(
Level1
"Bring up to date..."
)
ps
#
ps
=
showInfo
(
Level1
"Bring up to date..."
)
ps
#
ps
=
ClearCompilerCache`
ps
#
ps
=
ClearCompilerCache`
ps
#!
(
intr_info
,
ps
)
=
getInterrupt
ps
// (interact,ps) = getInteract ps
ini_step
=
DInit
force
project
cleanup
ini_step
=
DInit
force
project
cleanup
#
ps
=
StartIntr
intr_info
ini_step
step
ps
=
start
ini_step
step
ps
=
ps
where
where
PrecompileFase
project
ps
PrecompileFase
project
ps
#
(
precompile
,
project
)
=
PR_GetPrecompile
project
#
(
precompile
,
project
)
=
PR_GetPrecompile
project
...
@@ -282,18 +279,6 @@ where
...
@@ -282,18 +279,6 @@ where
//--
//--
cont
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
cont
(
ls
,
ps
)
#
(
intr_info
,
ps
)
=
getInterrupt
ps
#
ps
=
ContIntr
intr_info
ps
=
(
ls
,
ps
)
stop
::
!*(.
a
,!*
GeneralSt
)
->
*(.
a
,!*
GeneralSt
);
stop
(
ls
,
ps
)
#
(
intr_info
,
ps
)
=
getInterrupt
ps
#
ps
=
StopIntr
intr_info
ps
=
(
ls
,
ps
)
step
::
!
Bool
!*
DriverState
!*
GeneralSt
->
(!*
DriverState
,!*
GeneralSt
)
step
::
!
Bool
!*
DriverState
!*
GeneralSt
->
(!*
DriverState
,!*
GeneralSt
)
step
intr
(
DInit
force
project
setproject
)
ps
step
intr
(
DInit
force
project
setproject
)
ps
// # ps = showInfo (Level1 "Make the project...") ps
// # ps = showInfo (Level1 "Make the project...") ps
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment