[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:52:08 UTC 2009


The following commit has been merged in the upstream branch:
commit 77e6ba605372b89c4e186408978e45494c214846
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Fri Jul 1 08:21:20 2005 +1000

    Fix for expression parsing in GfsFunction
    
    darcs-hash:20050630222120-fbd8f-edc977eaa34a9210e6ae8c5fc3588ac91a8c593c.gz

diff --git a/src/utils.c b/src/utils.c
index 7fd48bc..34eb1c5 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -155,8 +155,9 @@ static gboolean expr_or_func (GtsFile * fp, GfsFunction * f)
       c = fp->next_token;
     else {
       if (fp->type != '(')
-	g_string_append_c (f->expr, ' ');
-      c = gts_file_getc (fp);
+	c = ' ';
+      else
+	c = gts_file_getc (fp);
     }
     while (c != EOF) {
       if (gfs_char_in_string (c, "{}\n")) {

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list