2012-02-05 11:35:58 -05:00
|
|
|
/****************************************************************
|
|
|
|
* *
|
|
|
|
* Copyright 2001, 2009 Fidelity Information Services, Inc *
|
|
|
|
* *
|
|
|
|
* This source code contains the intellectual property *
|
|
|
|
* of its copyright holder(s), and is made available *
|
|
|
|
* under a license. If you do not know the terms of *
|
|
|
|
* the license, please stop and do not read further. *
|
|
|
|
* *
|
|
|
|
****************************************************************/
|
|
|
|
|
|
|
|
#include "mdef.h"
|
|
|
|
#include "stringpool.h"
|
2012-10-29 18:54:31 -04:00
|
|
|
#include <rtnhdr.h>
|
2012-02-05 11:35:58 -05:00
|
|
|
#include "stack_frame.h"
|
|
|
|
#include "getzposition.h"
|
|
|
|
|
|
|
|
GBLREF spdesc stringpool;
|
|
|
|
|
|
|
|
void getzposition (mval *v)
|
|
|
|
{
|
|
|
|
ENSURE_STP_FREE_SPACE(MAX_ENTRYREF_LEN);
|
|
|
|
v->mvtype = MV_STR;
|
|
|
|
v->str.addr = (char *) stringpool.free;
|
|
|
|
stringpool.free = get_symb_line (stringpool.free, 0, 0);
|
|
|
|
v->str.len = INTCAST((char *)stringpool.free - v->str.addr);
|
|
|
|
return;
|
|
|
|
}
|