Move some ts_language functions to the right file
This commit is contained in:
parent
5c95d02bd0
commit
467930a785
3 changed files with 45 additions and 27 deletions
18
src/runtime/language.h
Normal file
18
src/runtime/language.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef RUNTIME_LANGUAGE_H_
|
||||
#define RUNTIME_LANGUAGE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "tree_sitter/parser.h"
|
||||
|
||||
const TSParseAction *ts_language_actions(const TSLanguage *, TSStateId,
|
||||
TSSymbol);
|
||||
TSParseAction ts_language_last_action(const TSLanguage *, TSStateId, TSSymbol);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // RUNTIME_LANGUAGE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue