Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/global/printer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let qualident ff { Lident.qual = m; Lident.id = s } =
fprintf ff "%s.%s" m (parenthesis s)

let longname ff ln =
let ln = Initial.short (currentname ln) in
let ln = Initial.short (Modules.currentname ln) in
match ln with
| Lident.Name(m) -> shortname ff m
| Lident.Modname(qual) -> qualident ff qual
Expand Down
3 changes: 2 additions & 1 deletion compiler/typing/typing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ let rec build (names, inames) { eq_desc = desc } =
block_with_bounded (names, inames) b in
let esc_names, esc_inames =
List.fold_left escape (names, inames) esc_list in
S.union names (if is_weak then S.diff esc_names bounded else esc_names),
S.union names
(if is_weak then S.diff esc_names bounded else esc_names),
S.union inames
(if is_weak then S.diff esc_inames bounded else esc_inames)
in
Expand Down
4 changes: 4 additions & 0 deletions config.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
let version = "2024"
let subversion = "dev"
let stdlib = "/Users/pouzet/article/paper/lustre/hybrid/zelus_git/github/zelus.2024.git/_build/install/default/share/zelus"
let date = "2024-10-28-7:22"
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ocaml


#load "unix.cma"

let version = "2.2"
Expand Down Expand Up @@ -46,3 +47,4 @@ let () =
|} x s)
statements;
close_out oc;

2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(env (dev (flags (:standard -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60-68-70 -warn-error -a+31))))
(env (dev (flags (:standard -w +a-4-6-7-9-26-27-29-32..42-44-45-48-50-60-68-70 -warn-error -a+31))))
2 changes: 1 addition & 1 deletion examples/ltta/ltta.zls
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ let node tb_controller (i, om, mi) = (o, im, pr) where
and emit im = data(i)+pr in Ready
| Ready ->
do n = q -> (last n - 1)
until ((n = 1) or preempted) then
until ((n = 1) || preempted) then
do pr = debug "PUBLISH"
and emit o = m+pr in Wait

Expand Down
Binary file added src/ctests/good/t_3.zci
Binary file not shown.
Loading