Author: adam-guest
Date: 2008-03-17 19:31:14 +0000 (Mon, 17 Mar 2008)
New Revision: 1162
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
+ Allow a heredoc marker to begin with a backslash
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-03-17 19:01:18 UTC (rev 1161)
+++ trunk/debian/changelog 2008-03-17 19:31:14 UTC (rev 1162)
@@ -9,6 +9,7 @@
+ Enhance the "invalid function name" check to allow a leading bracket
before the function name
+ Don't treat '' at the beginning of a line as the start of a quoted block
+ + Allow a heredoc marker to begin with a backslash
-- Adam D. Barratt <[EMAIL PROTECTED]> Sun, 16 Mar 2008 19:40:40 +0000
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2008-03-17 19:01:18 UTC (rev 1161)
+++ trunk/scripts/checkbashisms.pl 2008-03-17 19:31:14 UTC (rev 1162)
@@ -297,7 +297,7 @@
# Only look for the beginning of a heredoc here, after we've
# stripped out quoted material, to avoid false positives.
- if (m/(?:^|[^<])\<\<\s*[\'\"]?(\w+)[\'\"]?/) {
+ if (m/(?:^|[^<])\<\<\s*\\?[\'\"]?(\w+)[\'\"]?/) {
$cat_string = $1;
}
}
--
To unsubscribe, send mail to [EMAIL PROTECTED]