You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/01/01 02:28:30 UTC
svn commit: r607789 - /incubator/stdcxx/trunk/bin/xcomp.awk
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 <se...@roguewave.com>
* 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, "{")) {