version 1.9, 2025/03/24 01:32:22
|
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 |
* Revision 1.9 2025/03/24 01:32:22 snw |
* Guard declaration of time function in expr.c for portability |
* Guard declaration of time function in expr.c for portability |
* |
* |
Line 561 var1:
|
Line 567 var1:
|
|
|
case 'd': /* $DATA */ |
case 'd': /* $DATA */ |
|
|
ch = dat; |
ch = fra_dat; |
|
|
glv_fcn: |
glv_fcn: |
|
|
Line 1675 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 1686 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) { |