Skip to content

Commit c15a44c

Browse files
committed
Fix use of tree-sitter binding due to change in crate
1 parent e97747d commit c15a44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl Statement {
2626
/// This function will return an error if the underlying parser fails to initialize.
2727
pub fn new() -> Result<Self, DscError> {
2828
let mut parser = Parser::new();
29-
parser.set_language(&tree_sitter_dscexpression::LANGUAGE.into())?;
29+
parser.set_language(&tree_sitter_dscexpression::language())?;
3030
let function_dispatcher = FunctionDispatcher::new();
3131
Ok(Self {
3232
parser,

0 commit comments

Comments
 (0)