lean4-htt/src/util/message_definitions.h
Leonardo de Moura 0556412f8d refactor(*): add runtime folder
@kha The runtime folder includes what is needed to link a
standalone Lean program. It is still contains some unnecessary files.
We will be able to remove them after we release Lean4.
2018-05-14 14:23:56 -07:00

26 lines
484 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
*/
#pragma once
#include <utility>
#include <string>
#include "runtime/int64.h"
#include "util/name.h"
namespace lean {
typedef pair<unsigned, unsigned> pos_info; //!< Line and column information
struct pos_range {
pos_info m_begin, m_end;
};
struct location {
std::string m_file_name;
pos_range m_range;
};
}