Skip to content
Snippets Groups Projects
Commit 9f6426b9 authored by Julien Signoles's avatar Julien Signoles
Browse files

better aborting message

parent 77b7b490
No related branches found
No related tags found
No related merge requests found
...@@ -371,7 +371,10 @@ let pop_and_get env stmt ~global_clear where = ...@@ -371,7 +371,10 @@ let pop_and_get env stmt ~global_clear where =
| _ :: tl -> | _ :: tl ->
match stmt.skind with match stmt.skind with
| Block { bstmts = [ fst; snd ] } -> extract snd (fst :: acc) tl | Block { bstmts = [ fst; snd ] } -> extract snd (fst :: acc) tl
| _ -> assert false | _ ->
Kernel.fatal
"experting a block containing 2 statements instead of %a"
Printer.pp_stmt stmt
in in
extract stmt [] block.pre_stmts extract stmt [] block.pre_stmts
in in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment