Skip to content
Snippets Groups Projects
Commit 976d70f6 authored by Julien Signoles's avatar Julien Signoles Committed by Zaynah Dargaye
Browse files

better aborting message

parent d13f593d
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 =
| _ :: tl ->
match stmt.skind with
| 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
extract stmt [] block.pre_stmts
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