Unnamed repository; edit this file 'description' to name the repository.
syntax: Build C++ grammars as c++14
The haskell grammar requires at last c++14 to build.
Fixes #117
| -rw-r--r-- | helix-syntax/build.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index fd88138b..2e70ef1a 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -63,7 +63,8 @@ fn build_cpp(files: Vec<String>, language: &str) { .include(PathBuf::from(file).parent().unwrap()) .pic(true) .warnings(false) - .cpp(true); + .cpp(true) + .flag("-std=c++14"); } build.compile(&format!("tree-sitter-{}-cpp", language)); } |