⬆️ bandit

This commit is contained in:
Max Brunsfeld 2018-10-03 21:59:28 -07:00
parent 1129759b52
commit 0aac2ab722
6 changed files with 6 additions and 4 deletions

2
externals/bandit vendored

@ -1 +1 @@
Subproject commit f14ade4fbba72f2e8ba3a7f47318eb07614a39d4
Subproject commit bfdb8a3322a2e54b11aea64d84f9788d83477e83

View file

@ -181,7 +181,7 @@ describe("extract_tokens", []() {
Seq{CharacterSet{{'a'}}, CharacterSet{{'b'}}},
true
},
}))
}));
});
it("does not move entire rules into the lexical grammar if their content is used elsewhere in the grammar", [&]() {

View file

@ -84,7 +84,7 @@ describe("intern_symbols", []() {
VariableTypeNamed,
Symbol::non_terminal(2),
},
}))
}));
});
});

View file

@ -7,6 +7,7 @@
using std::string;
using std::cout;
using namespace snowhouse;
static void append_text_to_scope_sequence(ScopeSequence *sequence,
ScopeStack *current_scopes,

View file

@ -310,7 +310,7 @@ describe("Node", [&]() {
AssertThat(ts_node_start_point(child7), Equals<TSPoint>({ 8, 0 }));
AssertThat(ts_node_end_point(child7), Equals<TSPoint>({ 8, 1 }));
AssertThat(ts_node_child_count(child6), Equals<size_t>(3))
AssertThat(ts_node_child_count(child6), Equals<size_t>(3));
TSNode left_brace = ts_node_child(child6, 0);
TSNode pair = ts_node_child(child6, 1);

View file

@ -11,6 +11,7 @@ namespace tree_sitter {}
using namespace std;
using namespace bandit;
using namespace snowhouse;
using namespace tree_sitter;
#define START_TEST go_bandit([]() {