lean2/src/frontends/lean/register_module.cpp
Leonardo de Moura 546f9dc00b chore(frontends/lean): use consistent name conventions, rename token_set to token_table
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-10 09:18:57 -07:00

21 lines
530 B
C++

/*
Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <sstream>
#include "util/lua.h"
#include "util/script_state.h"
#include "frontends/lean/token_table.h"
#include "frontends/lean/parse_table.h"
namespace lean {
void open_frontend_lean(lua_State * L) {
open_token_table(L);
open_parse_table(L);
}
void register_frontend_lean_module() {
script_state::register_module(open_frontend_lean);
}
}