From: Ulya Trofimovich Date: Tue, 18 Jul 2017 12:56:48 +0000 (+0100) Subject: Reset '--no-lookahead' to default value if '--tags' is not enabled. X-Git-Tag: 1.0~39^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15e063d7fc6151b879f9fc2b1527c7d61671db95;p=re2c Reset '--no-lookahead' to default value if '--tags' is not enabled. --- diff --git a/re2c/src/conf/opt.cc b/re2c/src/conf/opt.cc index d2da530c..ed05bf2b 100644 --- a/re2c/src/conf/opt.cc +++ b/re2c/src/conf/opt.cc @@ -141,6 +141,7 @@ void mutopt_t::fix(const conopt_t *globopts) { tags_prefix = Opt::baseopt.tags_prefix; tags_expression = Opt::baseopt.tags_expression; + lookahead = Opt::baseopt.lookahead; optimize_tags = Opt::baseopt.optimize_tags; } if (!bFlag)