Skip to content

Commit

Permalink
Set Cabs2cil.addNestedScopeAttr based on the Goblint config option
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schwarz <[email protected]>
  • Loading branch information
mrstanb and michael-schwarz authored Oct 6, 2023
1 parent fbab25e commit 91aeee7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/cilfacade.ml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ let init_options () =
Mergecil.merge_inlines := get_bool "cil.merge.inlines";
Cil.cstd := Cil.cstd_of_string (get_string "cil.cstd");
Cil.gnu89inline := get_bool "cil.gnu89inline";
if get_bool "cil.addNestedScopeAttr" then
Cabs2cil.addNestedScopeAttr := true
Cabs2cil.addNestedScopeAttr := get_bool "cil.addNestedScopeAttr";

let init () =
initCIL ();
Expand Down

0 comments on commit 91aeee7

Please sign in to comment.