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
cduce
cduce
Commits
b2030041
Commit
b2030041
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2004-02-09 20:29:33 by afrisch] Empty log message
Original author: afrisch Date: 2004-02-09 20:29:33+00:00
parent
20e41309
Changes
1
Hide whitespace changes
Inline
Side-by-side
runtime/eval.ml
View file @
b2030041
...
...
@@ -298,9 +298,11 @@ let eval_rec_funs funs =
assert
(
!
frame
=
0
);
List
.
iter
(
fun
e
->
push
(
eval
[
||
]
e
))
funs
let
expr
=
function
|
Eval
e
->
eval
[
||
]
e
|
_
->
assert
false
let
expr
e
=
assert
(
!
frame
=
0
);
match
e
with
|
Eval
e
->
eval
[
||
]
e
|
_
->
assert
false
let
eval
=
function
|
Eval
e
->
eval_expr
e
...
...
@@ -309,7 +311,7 @@ let eval = function
let
comp_unit
init
code
=
(* Save the stack so as to be able to run a loaded comp_uni
(* Save the stack so as to be able to run a loaded comp_uni
t
from the toplevel *)
let
old_stack
=
!
stack
in
let
old_sp
=
!
sp
in
...
...
Write
Preview
Markdown
is supported
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