lean4-htt/src/library/messages.cpp
2016-11-29 11:12:40 -08:00

16 lines
393 B
C++

/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
*/
#include <string>
#include "library/messages.h"
namespace lean {
message::message(parser_exception const & ex) :
message(ex.get_file_name(), pos_info(ex.get_line(), ex.get_pos()),
ERROR, ex.get_msg()) {}
}