Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions jbmc/src/java_bytecode/java_bytecode_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ Author: Daniel Kroening, kroening@kroening.com
class java_bytecode_parsert final : public parsert
{
public:
explicit java_bytecode_parsert(bool skip_instructions)
: skip_instructions(skip_instructions)
java_bytecode_parsert(
bool skip_instructions,
message_handlert &message_handler)
: parsert(message_handler), skip_instructions(skip_instructions)
{
}

Expand Down Expand Up @@ -1809,9 +1811,9 @@ std::optional<java_bytecode_parse_treet> java_bytecode_parse(
message_handlert &message_handler,
bool skip_instructions)
{
java_bytecode_parsert java_bytecode_parser(skip_instructions);
java_bytecode_parsert java_bytecode_parser(
skip_instructions, message_handler);
java_bytecode_parser.in=&istream;
java_bytecode_parser.log.set_message_handler(message_handler);

bool parser_result=java_bytecode_parser.parse();

Expand Down