From bea6e0e28b347d1b8e35543041255b43580c680e Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Fri, 6 Dec 2019 11:51:55 -0800 Subject: [PATCH] cli: Generate parseres with the new ABI by default --- cli/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index f5d5d3ac..673ea5a9 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -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") {