Add {next,prev}_concrete_sibling Node methods

This commit is contained in:
Max Brunsfeld 2015-09-08 21:43:37 -07:00
parent c3f3f19ea8
commit 245daffbc4
7 changed files with 208 additions and 142 deletions

View file

@ -1,8 +1,10 @@
#include "runtime/helpers/tree_helpers.h"
const char *symbol_names[12] = {
const char *symbol_names[24] = {
"ERROR", "END", "two", "three", "four", "five", "six", "seven", "eight",
"nine", "ten", "eleven",
"nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen",
"sixteen", "seventeen", "eighteen", "nineteen", "twenty", "twenty-one",
"twenty-two", "twenty-three"
};
TSTree ** tree_array(std::vector<TSTree *> trees) {

View file

@ -5,7 +5,7 @@
#include <vector>
#include <string>
extern const char *symbol_names[12];
extern const char *symbol_names[24];
TSTree ** tree_array(std::vector<TSTree *> trees);