commit b178770ce3dc9e115f69df05fbbb5f83556ffe13
Author: Kornel Benko <kor...@lyx.org>
Date:   Fri May 23 11:32:19 2014 +0200

    Cmake export tests: Parse also for nameless layouts in lyx-files

diff --git a/development/autotests/lyxStatus.pm 
b/development/autotests/lyxStatus.pm
index 8182e49..8a03184 100644
--- a/development/autotests/lyxStatus.pm
+++ b/development/autotests/lyxStatus.pm
@@ -235,7 +235,7 @@ sub checkForLayoutStart($)
 {
   my ($l) = @_;
 
-  if ($l =~ /^\\begin_layout\s+(.+)$/) {
+  if ($l =~ /^\\begin_layout\s+(.*)$/) {
     #print "started layout\n";
     my %selem = ();
     $selem{type} = "layout";

Reply via email to