Fix compile error on gcc

This commit is contained in:
Max Brunsfeld 2014-05-09 15:37:30 -07:00
parent 963768eb8a
commit 3e0debf814
4 changed files with 38 additions and 36 deletions

View file

@ -102,7 +102,7 @@ namespace tree_sitter {
return "ts_sym_" + name;
}
}
string lex_state_index(size_t i) {
return to_string(i + 1);
}