Move public rule functions out of rule namespace
This way, there's only one public namespace: tree_sitter
This commit is contained in:
parent
e386c634aa
commit
bd77ab1ac9
66 changed files with 127 additions and 167 deletions
3
spec/fixtures/grammars/javascript.cc
vendored
3
spec/fixtures/grammars/javascript.cc
vendored
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
namespace tree_sitter_examples {
|
||||
|
||||
using tree_sitter::Grammar;
|
||||
using namespace tree_sitter::rules;
|
||||
|
||||
static rule_ptr terminated(rule_ptr rule) {
|
||||
return seq({ rule, choice({
|
||||
sym("_line_break"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue