Commit f9de919f authored by John Biddiscombe's avatar John Biddiscombe
Browse files

ENH: name mangling on Borland compiler makes linkage impossible to extern "C" static variable, so

static keyword is removed temporarily to see if WrapTcl etc can run by declaring
extern FunctionInfo currentFunction
Cause : Borland forces underscores because runtime library needs it
parent 7fd31088
......@@ -4223,7 +4223,7 @@ char yyextra[] = {
0,0,0,0,0,0,1,0,
0,0,0,0,0,0,0,0,
0};
#ident "$Revision$"
//#ident "$Revision: 1.13 $"
int yylineno =1;
# define YYU(x) x
......
......@@ -18,7 +18,7 @@ static char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#include "vtkParse.h"
FileInfo data;
static FunctionInfo *currentFunction;
FunctionInfo *currentFunction;
FILE *fhint;
char temps[2048];
......
......@@ -50,7 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "vtkParse.h"
FileInfo data;
static FunctionInfo *currentFunction;
FunctionInfo *currentFunction;
FILE *fhint;
char temps[2048];
......
......@@ -46,7 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
int numberOfWrappedFunctions = 0;
FunctionInfo *wrappedFunctions[1000];
FunctionInfo *currentFunction;
extern FunctionInfo *currentFunction;
void output_temp(FILE *fp, int i, int aType, char *Id, int count)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment