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
verimag
synchrone
sasa
Commits
66b73846
Commit
66b73846
authored
May 31, 2021
by
erwan
Browse files
Fix: actions with parenthesis broke the rdbg plugin
parent
9689b826
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/sasa/sasaRun.ml
View file @
66b73846
open
Sasacore
(* open SasArg *)
let
(
get_action_value
:
(
string
*
Data
.
v
)
list
->
string
->
string
->
bool
)
=
fun
sl
pid
a
->
let
vn
=
Printf
.
sprintf
"%s_%s"
pid
a
in
let
vn
=
Printf
.
sprintf
"%s_%s"
pid
(
StringOf
.
action
a
)
in
match
List
.
assoc_opt
vn
sl
with
|
Some
(
Data
.
B
b
)
->
b
|
None
...
...
@@ -32,7 +32,7 @@ let (get_sl_out: bool -> 'v Process.t list -> bool list list -> RdbgPlugin.sl) =
List
.
flatten
(
List
.
map2
(
fun
p
enab_l
->
List
.
map2
(
fun
a
enab
->
Printf
.
sprintf
"%s%s_%s"
str
p
.
pid
a
,
Data
.
B
enab
)
Printf
.
sprintf
"%s%s_%s"
str
p
.
pid
(
StringOf
.
action
a
)
,
Data
.
B
enab
)
p
.
actions
enab_l
)
pl
ll
)
...
...
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