[SCM] Gerris Flow Solver branch, upstream,	updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
    Stephane Popinet 
    popinet at users.sf.net
       
    Fri May 15 02:54:52 UTC 2009
    
    
  
The following commit has been merged in the upstream branch:
commit 7a21ab4088a98bc7448c242c7ac4a705a5115b87
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Dec 18 13:54:36 2007 +1100
    Simplified regular expression in m4.awk
    
    Hopefully this will fix issues with POSIX regex etc...
    
    darcs-hash:20071218025436-d4795-51c7429f7692713dc8e24e574a98d6ff949e6891.gz
diff --git a/src/m4.awk b/src/m4.awk
index 2f2cad7..f4e777f 100644
--- a/src/m4.awk
+++ b/src/m4.awk
@@ -12,7 +12,7 @@ BEGIN {
     if ($1 == "Define") {
 	macro = $2;
 	delete b;
-	if (match(macro, "([a-zA-Z_]+)\\((([a-zA-Z_]+|,)+)\\)", a)) {
+	if (match(macro, /(.+)\((.+)\)/, a)) {
 	    macro = a[1];
 	    split(a[2],b,",");
 	}
-- 
Gerris Flow Solver
    
    
More information about the debian-science-commits
mailing list