cli: Generate parseres with the new ABI by default
This commit is contained in:
parent
bd49fbab12
commit
bea6e0e28b
1 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ fn run() -> error::Result<()> {
|
|||
.about("Generate a parser")
|
||||
.arg(Arg::with_name("grammar-path").index(1))
|
||||
.arg(Arg::with_name("log").long("log"))
|
||||
.arg(Arg::with_name("next-abi").long("next-abi"))
|
||||
.arg(Arg::with_name("prev-abi").long("prev-abi"))
|
||||
.arg(
|
||||
Arg::with_name("report-states-for-rule")
|
||||
.long("report-states-for-rule")
|
||||
|
|
@ -154,11 +154,11 @@ fn run() -> error::Result<()> {
|
|||
if matches.is_present("log") {
|
||||
logger::init();
|
||||
}
|
||||
let next_abi = matches.is_present("next-abi");
|
||||
let prev_abi = matches.is_present("prev-abi");
|
||||
generate::generate_parser_in_directory(
|
||||
¤t_dir,
|
||||
grammar_path,
|
||||
next_abi,
|
||||
!prev_abi,
|
||||
report_symbol_name,
|
||||
)?;
|
||||
} else if let Some(matches) = matches.subcommand_matches("test") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue