OBS-URL: https://build.opensuse.org/request/show/503977 OBS-URL: https://build.opensuse.org/package/show/science/gdl-language?expand=0&rev=1
23 lines
557 B
Diff
23 lines
557 B
Diff
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];
|
|
}
|
|
}
|
|
|