tree-sitter/spec/spec_helper.cpp
Max Brunsfeld 7a3092b765 Refactor parser error messages
- move message generation to TSParseError,
  so that Parser doesn’t need to import <string>, and can
  be compiled as plain C.
2014-01-11 17:59:45 -08:00

5 lines
No EOL
95 B
C++

#include "spec_helper.h"
string src_dir() {
return string(getenv("TREESITTER_SRC_DIR"));
}