Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WSymb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OTAWA-plugins
WSymb
Commits
235c4458
Commit
235c4458
authored
5 years ago
by
Forget Julien
Browse files
Options
Downloads
Patches
Plain Diff
Missing box closing+must specify field when opdata is .ann
parent
6fa03463
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
simplify/to_c.ml
+4
-3
4 additions, 3 deletions
simplify/to_c.ml
with
4 additions
and
3 deletions
simplify/to_c.ml
+
4
−
3
View file @
235c4458
...
...
@@ -9,7 +9,7 @@ let c_array pp_elem out_f array =
if
length
=
0
then
pp_print_text
out_f
"NULL"
else
fprintf
out_f
"@[<hov 2>{%a}"
fprintf
out_f
"@[<hov 2>{%a}
@]
"
(
fun
out_f
->
pp_print_list
~
pp_sep
:
(
fun
out_f
()
->
fprintf
out_f
",@ "
)
...
...
@@ -58,7 +58,7 @@ let c_awcet out_f (lid, wl) =
c_wlist
wl
let
c_annot
out_f
(
lid
,
k
)
=
fprintf
out_f
"{%a,%d}"
c_loopid
lid
k
fprintf
out_f
"
.ann=
{%a,%d}"
c_loopid
lid
k
let
rec
c_formula_operands
out_f
fl
=
fprintf
out_f
"@[<hov 2>(formula_t[%d])@ %a@]"
...
...
@@ -87,7 +87,8 @@ and c_formula_rec out_f f =
begin
match
it
with
|
SInt
i
->
fprintf
out_f
"KIND_LOOP,@ 0,@ {%d},@ %a, %a"
i
c_null_wcet
()
c_formula_operands
[
fbody
]
fprintf
out_f
"KIND_LOOP,@ 0,@ {%d},@ %a, %a"
i
c_null_wcet
()
c_formula_operands
[
fbody
]
|
SParam
p
->
fprintf
out_f
"KIND_LOOP,@ %d,@ {0},@ %a, %a"
(
int_of_string
p
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment