Skip to content

Commit 9c73647

Browse files
author
navrkald
committed
Bug repair to empty set RegExp to FA.
1 parent 5c4878b commit 9c73647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RegularConvertor/algorithms/regexptofa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ void RegExpToFA::setMode(modes _mode, RegExp* _re)
131131
if(mode == PLAY_MODE)
132132
{
133133
//this clears regexp tree, this by the way indirectly calls void RegExpToFA::setRE(RegExp *_re)
134+
//this will cause to call setRE and there saveStep() function is called
134135
re_widget->setRegExp(new RegExp(re->regexp));
135136
re_widget->modelChanged();
136137

137-
saveStep();
138138
nodesToProcede.clear();
139139
postOrder(re->rootNode);
140140
}

0 commit comments

Comments
 (0)