intltool r720 - trunk



Author: dobey
Date: Sun Feb 24 22:15:03 2008
New Revision: 720
URL: http://svn.gnome.org/viewvc/intltool?rev=720&view=rev

Log:
2008-02-24  Rodney Dawes  <dobey pwns gmail com>

	* intltool-update.in.in (FindPOTKeywords):
	Unwrap lines wplit with trailing \
	Patch from LoÃc Minier <lool dooz org>

	Fixes #516501



Modified:
   trunk/ChangeLog
   trunk/intltool-update.in.in

Modified: trunk/intltool-update.in.in
==============================================================================
--- trunk/intltool-update.in.in	(original)
+++ trunk/intltool-update.in.in	Sun Feb 24 22:15:03 2008
@@ -1115,6 +1115,8 @@
 	close IN;
     }
 
+    # unwrap lines split with a trailing \
+    $make_source =~  s/\\ $ \n/ /mxg;
     $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m;
     
     return $keywords;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]