Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
url = ../../tree-sitter/tree-sitter.git
[submodule "extern/tree-sitter-lua"]
path = extern/tree-sitter-lua
url = ../../Azganoth/tree-sitter-lua.git
url = ../../CFU9/tree-sitter-lua.git
update = rebase
branch = adjustments
[submodule "extern/catch2"]
path = extern/catch2
url = ../../catchorg/Catch2.git
Expand Down
2 changes: 1 addition & 1 deletion extern/tree-sitter
Submodule tree-sitter updated 100 files
2 changes: 1 addition & 1 deletion extern/tree-sitter-lua
3 changes: 2 additions & 1 deletion include/tree_sitter/tree_sitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ const TypeId NODE_VARIABLE_DECLARATION = LUA_LANGUAGE.node_type_id("variable_dec
const TypeId NODE_LOCAL_VARIABLE_DECLARATION =
LUA_LANGUAGE.node_type_id("local_variable_declaration", true);
const TypeId NODE_FIELD_EXPRESSION = LUA_LANGUAGE.node_type_id("field_expression", true);
const TypeId NODE_TABLE_INDEX = LUA_LANGUAGE.node_type_id("table_index", true);
const TypeId NODE_VARIABLE_DECLARATOR = LUA_LANGUAGE.node_type_id("variable_declarator", true);
const TypeId NODE_LOCAL_VARIABLE_DECLARATOR = LUA_LANGUAGE.node_type_id("local_variable_declarator", true);
const TypeId NODE_DO_STATEMENT = LUA_LANGUAGE.node_type_id("do_statement", true);
const TypeId NODE_IF_STATEMENT = LUA_LANGUAGE.node_type_id("if_statement", true);
const TypeId NODE_ELSEIF = LUA_LANGUAGE.node_type_id("elseif", true);
Expand Down Expand Up @@ -382,7 +384,6 @@ class Node {
struct unsafe_t {};
// used as a token for the unsafe constructor
constexpr static unsafe_t unsafe{};

/**
* Creates a new node from the given tree-sitter node and the tree.
*
Expand Down
Loading