Compile external scanners w/ debug symbols in test suite
This commit is contained in:
parent
2fa7b453c8
commit
0f039721dd
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ const TSLanguage *load_language(const string &source_filename,
|
|||
};
|
||||
|
||||
if (!external_scanner_filename.empty()) {
|
||||
compile_args.push_back("-g");
|
||||
string extension = external_scanner_filename.substr(external_scanner_filename.rfind("."));
|
||||
if (extension == ".c") {
|
||||
compile_args.push_back("-xc");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue