Intern symbols during grammar preparation

This commit is contained in:
Max Brunsfeld 2014-04-22 23:38:26 -07:00
parent 33d781f492
commit 68d44fd565
67 changed files with 10829 additions and 10557 deletions

View file

@ -0,0 +1,13 @@
#ifndef COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_
#define COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_
#include <string>
#include "tree_sitter/compiler.h"
namespace tree_sitter {
namespace generate_code {
std::string token_description(const rules::rule_ptr &);
}
}
#endif // COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_