From dae3a79c64e5ca3799029c1869f4478fd5d7605f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pecka?= <peckato1@fit.cvut.cz> Date: Thu, 1 May 2014 22:50:57 +0200 Subject: [PATCH] aregexptree: Fix integral error. --- libaregexptree/src/RegExpIntegral.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libaregexptree/src/RegExpIntegral.cpp b/libaregexptree/src/RegExpIntegral.cpp index e8365e661c..9fa9e383a3 100644 --- a/libaregexptree/src/RegExpIntegral.cpp +++ b/libaregexptree/src/RegExpIntegral.cpp @@ -92,7 +92,7 @@ RegExpElement * RegExpIntegral::integral( const Iteration * node, const Symbol & { Concatenation * concat = new Concatenation( ); concat->getElements( ).push_back( new RegExpSymbol( dSymbol.getSymbol( ) ) ); - concat->getElements( ).push_back( node->getElement( )->clone( ) ); + concat->getElements( ).push_back( node->clone( ) ); return concat; } -- GitLab