Fix some egregiously long lines

This commit is contained in:
Max Brunsfeld 2014-03-09 23:51:33 -07:00
parent 39cb420df2
commit 3aaa08b948
21 changed files with 117 additions and 49 deletions

View file

@ -4,7 +4,7 @@
namespace tree_sitter {
using std::string;
namespace rules {
Repeat::Repeat(const rule_ptr content) : content(content) {}

View file

@ -4,7 +4,7 @@
namespace tree_sitter {
using std::ostream;
using std::string;
namespace rules {
bool Rule::operator!=(const Rule &other) const {
return !this->operator==(other);

View file

@ -5,7 +5,7 @@
namespace tree_sitter {
using std::string;
using std::hash;
namespace rules {
String::String(string value) : value(value) {}

View file

@ -6,7 +6,7 @@
namespace tree_sitter {
using std::string;
using std::hash;
namespace rules {
Symbol::Symbol(const std::string &name) : name(name), type(SymbolTypeNormal) {}
Symbol::Symbol(const std::string &name, SymbolType type) : name(name), type(type) {}