Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #111: fix: remove warning when compiling #112

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
1 change: 0 additions & 1 deletion tree-sitter-uvl/src/scanner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ struct Scanner {
int32_t first_comment_indent_lenght = -1;
lexer->mark_end(lexer);
auto skip = [&]() { lexer->advance(lexer, false); };
auto advance = [&]() { lexer->advance(lexer, true); };
bool scan_ident = 1, eof = 0;

// std::cout<<"scanning:";
Expand Down
2 changes: 1 addition & 1 deletion uvls/src/core/ast/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ fn visit_ref(graph: &mut VisitorGraph, _: &mut GraphNode, _: Path) {
}
}
}
fn visit_group(graph: &mut VisitorGraph, mut parent: &mut GraphNode, mode: GroupMode) {
fn visit_group(graph: &mut VisitorGraph, parent: &mut GraphNode, mode: GroupMode) {
//let sym = Symbol::Group(graph.ast.groups.len());
//graph.push_child(parent, sym);
parent.group_mode = Some(mode);
Expand Down