We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
binding.cc
PARSER_NAME
1 parent 3639781 commit 274d0cdCopy full SHA for 274d0cd
cli/src/generate/grammar_files.rs
@@ -201,7 +201,7 @@ pub fn generate_grammar_files(
201
fs::read_to_string(path).with_context(|| "Failed to read binding.cc")?;
202
if binding_cc.contains("NAN_METHOD(New) {}") {
203
eprintln!("Replacing binding.cc with new binding API");
204
- write_file(path, JS_BINDING_CC_TEMPLATE)?;
+ generate_file(path, JS_BINDING_CC_TEMPLATE, language_name)?;
205
}
206
Ok(())
207
},
0 commit comments