version 1.8, 2025/03/22 04:47:18
|
version 1.11, 2025/03/30 01:36:58
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.11 2025/03/30 01:36:58 snw |
|
* Make it easier to bring back fma_gedit, fix double-free in global handler, limit $CHAR to 7-bit ASCII |
|
* |
|
* Revision 1.10 2025/03/24 04:13:11 snw |
|
* Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 |
|
* |
|
* Revision 1.9 2025/03/24 01:32:22 snw |
|
* Guard declaration of time function in expr.c for portability |
|
* |
* Revision 1.8 2025/03/22 04:47:18 snw |
* Revision 1.8 2025/03/22 04:47:18 snw |
* Silently truncate long names in STRING exprs when evaluates to an obsolete MDC standard |
* Silently truncate long names in STRING exprs when evaluates to an obsolete MDC standard |
* |
* |
Line 138
|
Line 147
|
#define GET 'Y' |
#define GET 'Y' |
#define GETX ':' |
#define GETX ':' |
|
|
#if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) |
#if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) && !defined(__OS2__) |
long time (); |
long time (); |
#endif |
#endif |
void cond_round (char *a, int digits); |
void cond_round (char *a, int digits); |
Line 558 var1:
|
Line 567 var1:
|
|
|
case 'd': /* $DATA */ |
case 'd': /* $DATA */ |
|
|
ch = dat; |
ch = fra_dat; |
|
|
glv_fcn: |
glv_fcn: |
|
|
Line 1672 uparrow:
|
Line 1681 uparrow:
|
|
|
case 'c': /* $CHARACTER */ |
case 'c': /* $CHARACTER */ |
|
|
{ |
{ |
|
char chrtmp[256]; |
|
long pnum; |
short l, l1, m, n; |
short l, l1, m, n; |
|
|
l1 = f; |
l1 = f; |
Line 1683 uparrow:
|
Line 1694 uparrow:
|
n = 1; |
n = 1; |
l = 0; |
l = 0; |
|
|
|
stcpy (chrtmp, a); |
|
stcnv_m2c (chrtmp); |
|
pnum = atol (chrtmp); |
|
|
|
if (pnum > 127) { |
|
merr_raise (MXNUM); |
|
return; |
|
} |
|
|
for (;;) { |
for (;;) { |
|
|
if ((ch = a[i++]) == EOL) { |
if ((ch = a[i++]) == EOL) { |