Skip to content
Snippets Groups Projects
Commit 10444fb3 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

fix b70e6fca (prev commit)

parent b70e6fca
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ void RegExpDerivation::Visit(void* userData, const regexp::FormalRegExpConcatena
delete leftDerivative;
delete rightElement;
 
if(concatenation.getLeftElement().containsEmptyString())
if(regexp::RegExpEpsilon::languageContainsEpsilon(concatenation.getLeftElement()))
{
const regexp::FormalRegExpElement *alternation = out.second, *rightDerivative = nullptr;
static_cast<const regexp::FormalRegExpElement&>(concatenation.getRightElement()).Accept(userData, *this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment