]> granicus.if.org Git - re2c/commitdiff
Reset '--no-lookahead' to default value if '--tags' is not enabled.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 18 Jul 2017 12:56:48 +0000 (13:56 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 18 Jul 2017 12:56:48 +0000 (13:56 +0100)
re2c/src/conf/opt.cc

index d2da530c2b13a721955df0369d7d12d096ae7f9d..ed05bf2b67f89564d953367a37c2e11d0180cbe0 100644 (file)
@@ -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)