File gdl-funList.patch of Package gdl-language

Index: gdl-0.9.7/src/pythongdl.cpp
===================================================================
--- gdl-0.9.7.orig/src/pythongdl.cpp
+++ gdl-0.9.7/src/pythongdl.cpp
@@ -315,7 +315,7 @@ PyObject *GDLSub( PyObject *self, PyObje
 	  }
 	else
 	  {
-	    // FCALL - user defined procedures
+	    // FCALL - user defined functions
 	    proIx = FunIx( pro);
 	    if( proIx == -1)
 	      {
@@ -361,7 +361,7 @@ PyObject *GDLSub( PyObject *self, PyObje
 		  }
 	      }
 	  
-	    sub = proList[ proIx];
+	    sub = funList[ proIx];
 	  }
       }
       
openSUSE Build Service is sponsored by