Author: sebor Date: Mon Dec 31 17:28:29 2007 New Revision: 607789 URL: http://svn.apache.org/viewvc?rev=607789&view=rev Log: 2007-12-31 Martin Sebor <[EMAIL PROTECTED]>
* xcomp.awk: Escaped the question mark in invocation of gsub() to silence the FreeBSD error: illegal primary in regular expression. Modified: incubator/stdcxx/trunk/bin/xcomp.awk Modified: incubator/stdcxx/trunk/bin/xcomp.awk URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/xcomp.awk?rev=607789&r1=607788&r2=607789&view=diff ============================================================================== --- incubator/stdcxx/trunk/bin/xcomp.awk (original) +++ incubator/stdcxx/trunk/bin/xcomp.awk Mon Dec 31 17:28:29 2007 @@ -189,7 +189,7 @@ # question marks with "." gsub("\\.", "\\.", pattern) gsub("\\*", ".*", pattern) - gsub("?", ".", pattern) + gsub("\\?", ".", pattern) # if patter contains an open brace expand it using the shell if (0 < index(pattern, "{")) {