From a273fab32e431a9a2d89e6931d1d38f841d541ff Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 6 Apr 2015 20:15:29 +0100 Subject: [PATCH] Continued adding "--skeleton" switch. Fixed range lower bound tracking when generating input strings from DFA. --- re2c/code.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/re2c/code.cc b/re2c/code.cc index 49678337..ce3cdf3f 100644 --- a/re2c/code.cc +++ b/re2c/code.cc @@ -1088,10 +1088,9 @@ static void generate_data (OutputFile & o, uint ind, State * s, const std::vecto z.push_back (s->go.span[i].ub - 1); zs.push_back (std::make_pair (z, l)); } - - b = s->go.span[i].ub; } generate_data (o, ind, s->go.span[i].to, zs, ys); + b = s->go.span[i].ub; } s->generated = false; } -- 2.40.0