touched up awk for OS2

This commit is contained in:
hyung-hwan 2011-04-18 09:28:22 +00:00
parent 212a71460f
commit ea724c784c
16 changed files with 1605 additions and 330 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: awk.c 365 2010-10-29 13:54:36Z hyunghwan.chung $ * $Id: awk.c 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -41,6 +41,10 @@
# include <windows.h> # include <windows.h>
# include <tchar.h> # include <tchar.h>
# include <process.h> # include <process.h>
#elif defined(__OS2__)
# define INCL_DOSEXCEPTIONS
# define INCL_ERRORS
# include <os2.h>
#else #else
# include <unistd.h> # include <unistd.h>
# include <errno.h> # include <errno.h>
@ -91,7 +95,7 @@ static void dprint (const qse_char_t* fmt, ...)
} }
} }
#ifdef _WIN32 #if defined(_WIN32)
static BOOL WINAPI stop_run (DWORD ctrl_type) static BOOL WINAPI stop_run (DWORD ctrl_type)
{ {
if (ctrl_type == CTRL_C_EVENT || if (ctrl_type == CTRL_C_EVENT ||
@ -103,6 +107,30 @@ static BOOL WINAPI stop_run (DWORD ctrl_type)
return FALSE; return FALSE;
} }
#elif defined(__OS2__)
static ULONG _System stop_run (
PEXCEPTIONREPORTRECORD p1,
PEXCEPTIONREGISTRATIONRECORD p2,
PCONTEXTRECORD p3,
PVOID pv)
{
if (p1->ExceptionNum == XCPT_SIGNAL)
{
if (p1->ExceptionInfo[0] == XCPT_SIGNAL_INTR ||
p1->ExceptionInfo[0] == XCPT_SIGNAL_KILLPROC ||
p1->ExceptionInfo[0] == XCPT_SIGNAL_BREAK)
{
APIRET rc;
qse_awk_rtx_stop (app_rtx);
rc = DosAcknowledgeSignalException (p1->ExceptionInfo[0]);
return (rc != NO_ERROR)? 1: XCPT_CONTINUE_EXECUTION;
}
}
return XCPT_CONTINUE_SEARCH; /* exception not resolved */
}
#else #else
static int setsignal (int sig, void(*handler)(int), int restart) static int setsignal (int sig, void(*handler)(int), int restart)
@ -140,8 +168,15 @@ static void stop_run (int sig)
static void set_intr_run (void) static void set_intr_run (void)
{ {
#ifdef _WIN32 #if defined(_WIN32)
SetConsoleCtrlHandler (stop_run, TRUE); SetConsoleCtrlHandler (stop_run, TRUE);
#elif defined(__OS2__)
EXCEPTIONREGISTRATIONRECORD rr = { 0 };
APIRET rc;
rr.ExceptionHandler = (ERR)stop_run;
qse_printf (QSE_T("setting....\n"));
rc = DosSetExceptionHandler (&rr);
/*if (rc != NO_ERROR)...*/
#else #else
/*setsignal (SIGINT, stop_run, 1); TO BE MORE COMPATIBLE WITH WIN32*/ /*setsignal (SIGINT, stop_run, 1); TO BE MORE COMPATIBLE WITH WIN32*/
setsignal (SIGINT, stop_run, 0); setsignal (SIGINT, stop_run, 0);
@ -150,8 +185,14 @@ static void set_intr_run (void)
static void unset_intr_run (void) static void unset_intr_run (void)
{ {
#ifdef _WIN32 #if defined(_WIN32)
SetConsoleCtrlHandler (stop_run, FALSE); SetConsoleCtrlHandler (stop_run, FALSE);
#elif defined(__OS2__)
EXCEPTIONREGISTRATIONRECORD rr = { 0 };
APIRET rc;
rr.ExceptionHandler = (ERR)stop_run;
rc = DosUnsetExceptionHandler (&rr);
/*if (rc != NO_ERROR) ...*/
#else #else
setsignal (SIGINT, SIG_DFL, 1); setsignal (SIGINT, SIG_DFL, 1);
#endif #endif

View File

@ -1,5 +1,5 @@
/* /*
* $Id: awk.h 434 2011-04-16 14:55:26Z hyunghwan.chung $ * $Id: awk.h 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -741,7 +741,7 @@ enum qse_awk_option_t
QSE_AWK_INCLUDE = (1 << 16), QSE_AWK_INCLUDE = (1 << 16),
/** /**
* makes #qse_awk_t to behave as compatibly as classical AWK * makes #qse_awk_t to behave compatibly with classical AWK
* implementations * implementations
*/ */
QSE_AWK_CLASSIC = QSE_AWK_IMPLICIT | QSE_AWK_RIO | QSE_AWK_CLASSIC = QSE_AWK_IMPLICIT | QSE_AWK_RIO |

View File

@ -1,5 +1,5 @@
/* /*
* $Id: awk.c 365 2010-10-29 13:54:36Z hyunghwan.chung $ * $Id: awk.c 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -223,6 +223,10 @@ qse_awk_t* qse_awk_open (qse_mmgr_t* mmgr, qse_size_t xtn, qse_awk_prm_t* prm)
qse_lda_setcopier (awk->parse.params, QSE_LDA_COPIER_INLINE); qse_lda_setcopier (awk->parse.params, QSE_LDA_COPIER_INLINE);
awk->option = QSE_AWK_CLASSIC; awk->option = QSE_AWK_CLASSIC;
#if defined(_WIN32) || defined(__OS2__)
awk->option |= QSE_AWK_CRLF;
#endif
awk->errinf.num = QSE_AWK_ENOERR; awk->errinf.num = QSE_AWK_ENOERR;
awk->errinf.loc.line = 0; awk->errinf.loc.line = 0;
awk->errinf.loc.colm = 0; awk->errinf.loc.colm = 0;

View File

@ -1,5 +1,5 @@
/* /*
* $Id: err.c 311 2009-12-09 11:35:54Z hyunghwan.chung $ * $Id: err.c 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -303,3 +303,4 @@ void qse_awk_rtx_seterror (
if (errloc != QSE_NULL) rtx->errinf.loc = *errloc; if (errloc != QSE_NULL) rtx->errinf.loc = *errloc;
} }

View File

@ -1,5 +1,5 @@
/* /*
* $Id: run.c 365 2010-10-29 13:54:36Z hyunghwan.chung $ * $Id: run.c 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -731,14 +731,15 @@ qse_awk_rtx_t* qse_awk_rtx_open (
} }
/* initialize the run object */ /* initialize the run object */
if (init_rtx (rtx, awk, rio) == -1) if (init_rtx (rtx, awk, rio) <= -1)
{ {
QSE_AWK_FREE (awk, rtx); QSE_AWK_FREE (awk, rtx);
return QSE_NULL; return QSE_NULL;
} }
if (init_globals (rtx, arg) == -1) if (init_globals (rtx, arg) <= -1)
{ {
awk->errinf = rtx->errinf; /* transfer error info */
fini_rtx (rtx, 0); fini_rtx (rtx, 0);
QSE_AWK_FREE (awk, rtx); QSE_AWK_FREE (awk, rtx);
return QSE_NULL; return QSE_NULL;

View File

@ -1,5 +1,5 @@
/* /*
* $Id: std.c 434 2011-04-16 14:55:26Z hyunghwan.chung $ * $Id: std.c 436 2011-04-17 15:28:22Z hyunghwan.chung $
* *
Copyright 2006-2009 Chung, Hyung-Hwan. Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -32,6 +32,24 @@
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#if defined(_WIN32)
# include <tchar.h>
#endif
#ifndef QSE_HAVE_CONFIG_H
# if defined(__OS2__) || defined(_WIN32)
# define HAVE_POW
# define HAVE_SIN
# define HAVE_COS
# define HAVE_TAN
# define HAVE_ATAN
# define HAVE_ATAN2
# define HAVE_LOG
# define HAVE_EXP
# define HAVE_SQRT
# endif
#endif
typedef struct xtn_t typedef struct xtn_t
{ {
struct struct
@ -914,7 +932,7 @@ static int open_rio_console (qse_awk_rtx_t* rtx, qse_awk_rio_arg_t* riod)
} }
if (qse_awk_rtx_setfilename ( if (qse_awk_rtx_setfilename (
rtx, file, qse_strlen(file)) == -1) rtx, file, qse_strlen(file)) <= -1)
{ {
if (sio != qse_sio_in) qse_sio_close (sio); if (sio != qse_sio_in) qse_sio_close (sio);
qse_awk_rtx_free (rtx, out.u.cpldup.ptr); qse_awk_rtx_free (rtx, out.u.cpldup.ptr);
@ -986,7 +1004,7 @@ static int open_rio_console (qse_awk_rtx_t* rtx, qse_awk_rio_arg_t* riod)
} }
if (qse_awk_rtx_setofilename ( if (qse_awk_rtx_setofilename (
rtx, file, qse_strlen(file)) == -1) rtx, file, qse_strlen(file)) <= -1)
{ {
qse_sio_close (sio); qse_sio_close (sio);
return -1; return -1;
@ -1176,6 +1194,40 @@ qse_awk_rtx_t* qse_awk_rtx_openstd (
rxtn->c.out.index = 0; rxtn->c.out.index = 0;
rxtn->c.out.count = 0; rxtn->c.out.count = 0;
if (icf && icf[0])
{
/* If an explicit console file name is given,
* set FILENAME in advance in case FILENAME printing
* is the first output statement executed. FILENAME
* would be printed as an empty string without this
* as FILENAME is resolved before the I/O handler is
* executed.
*/
if (qse_awk_rtx_setfilename (rtx, icf[0], qse_strlen(icf[0])) <= -1)
{
awk->errinf = rtx->errinf; /* transfer error info */
qse_awk_rtx_close (rtx);
return QSE_NULL;
}
}
if (ocf && ocf[0])
{
/* If an explicit console file name is given,
* set OFILENAME in advance in case OFILENAME printing
* is the first output statement executed. OFILENAME
* would be printed as an empty string without this
* as OFILENAME is resolved before the I/O handler is
* executed.
*/
if (qse_awk_rtx_setofilename (rtx, ocf[0], qse_strlen(ocf[0])) <= -1)
{
awk->errinf = rtx->errinf; /* transfer error info */
qse_awk_rtx_close (rtx);
return QSE_NULL;
}
}
return rtx; return rtx;
} }

View File

@ -21,15 +21,10 @@
#include <qse/awk/std.h> #include <qse/awk/std.h>
#include <qse/cmn/stdio.h> #include <qse/cmn/stdio.h>
/* this sample produces 8 text files containing multiplication char */ /* this sample produces 8 text files containing multiplication chart. */
const qse_char_t* src = QSE_T( const qse_char_t* src = QSE_T(
"BEGIN {" "BEGIN {"
" printf \"\"; # work around the empty OFILENAME when printed\n"
" # for the first time in the loop below\n"
" # this happens because the console file is opened\n"
" # and OFILENAME is set when the first console output\n"
" # operation is peformed\n"
" for (i=2;i<=9;i++)" " for (i=2;i<=9;i++)"
" {" " {"
" print \"OFILENAME:\" OFILENAME;" " print \"OFILENAME:\" OFILENAME;"

View File

@ -0,0 +1,129 @@
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
OEXE
3
WString
5
oc2eo
1
0
1
4
MCommand
0
5
MCommand
0
6
MItem
10
qseawk.exe
7
WString
4
OEXE
8
WVList
2
9
MVState
10
WString
7
OS2LINK
11
WString
28
?????Library directories(;):
1
12
WString
27
../../lib/cmn ../../lib/awk
0
13
MVState
14
WString
7
OS2LINK
15
WString
18
?????Libraries(,):
1
16
WString
13
qsecmn qseawk
0
17
WVList
0
-1
1
1
0
18
WPickList
2
19
MItem
3
*.c
20
WString
4
COBJ
21
WVList
1
22
MVState
23
WString
3
WCC
24
WString
25
o?2??Include directories:
1
25
WString
54
"$(%watcom)/h;$(%watcom)/h/os2;..\..\..\..\..\include"
0
26
WVList
0
-1
1
1
0
27
MItem
28
..\..\..\..\..\cmd\awk\awk.c
28
WString
4
COBJ
29
WVList
0
30
WVList
0
19
1
1
0

View File

@ -0,0 +1,457 @@
40
targetIdent
0
MProject
1
MComponent
0
2
WString
3
LIB
3
WString
5
o_2so
1
0
1
4
MCommand
0
5
MCommand
0
6
MItem
10
qseawk.lib
7
WString
3
LIB
8
WVList
0
9
WVList
0
-1
1
1
0
10
WPickList
22
11
MItem
3
*.c
12
WString
4
COBJ
13
WVList
1
14
MVState
15
WString
3
WCC
16
WString
25
o?2??Include directories:
1
17
WString
54
"$(%watcom)/h;$(%watcom)/h/os2;..\..\..\..\..\include"
0
18
WVList
0
-1
1
1
0
19
MItem
28
..\..\..\..\..\lib\awk\awk.c
20
WString
4
COBJ
21
WVList
0
22
WVList
0
11
1
1
0
23
MItem
28
..\..\..\..\..\lib\awk\err.c
24
WString
4
COBJ
25
WVList
0
26
WVList
0
11
1
1
0
27
MItem
28
..\..\..\..\..\lib\awk\fnc.c
28
WString
4
COBJ
29
WVList
0
30
WVList
0
11
1
1
0
31
MItem
29
..\..\..\..\..\lib\awk\misc.c
32
WString
4
COBJ
33
WVList
0
34
WVList
0
11
1
1
0
35
MItem
30
..\..\..\..\..\lib\awk\parse.c
36
WString
4
COBJ
37
WVList
0
38
WVList
0
11
1
1
0
39
MItem
28
..\..\..\..\..\lib\awk\rec.c
40
WString
4
COBJ
41
WVList
0
42
WVList
0
11
1
1
0
43
MItem
28
..\..\..\..\..\lib\awk\rio.c
44
WString
4
COBJ
45
WVList
0
46
WVList
0
11
1
1
0
47
MItem
28
..\..\..\..\..\lib\awk\run.c
48
WString
4
COBJ
49
WVList
0
50
WVList
0
11
1
1
0
51
MItem
28
..\..\..\..\..\lib\awk\std.c
52
WString
4
COBJ
53
WVList
0
54
WVList
0
11
1
1
0
55
MItem
29
..\..\..\..\..\lib\awk\tree.c
56
WString
4
COBJ
57
WVList
0
58
WVList
0
11
1
1
0
59
MItem
28
..\..\..\..\..\lib\awk\val.c
60
WString
4
COBJ
61
WVList
0
62
WVList
0
11
1
1
0
63
MItem
3
*.h
64
WString
3
NIL
65
WVList
0
66
WVList
0
-1
1
1
0
67
MItem
28
..\..\..\..\..\lib\awk\awk.h
68
WString
3
NIL
69
WVList
0
70
WVList
0
63
1
1
0
71
MItem
28
..\..\..\..\..\lib\awk\err.h
72
WString
3
NIL
73
WVList
0
74
WVList
0
63
1
1
0
75
MItem
28
..\..\..\..\..\lib\awk\fnc.h
76
WString
3
NIL
77
WVList
0
78
WVList
0
63
1
1
0
79
MItem
29
..\..\..\..\..\lib\awk\misc.h
80
WString
3
NIL
81
WVList
0
82
WVList
0
63
1
1
0
83
MItem
30
..\..\..\..\..\lib\awk\parse.h
84
WString
3
NIL
85
WVList
0
86
WVList
0
63
1
1
0
87
MItem
28
..\..\..\..\..\lib\awk\rio.h
88
WString
3
NIL
89
WVList
0
90
WVList
0
63
1
1
0
91
MItem
28
..\..\..\..\..\lib\awk\run.h
92
WString
3
NIL
93
WVList
0
94
WVList
0
63
1
1
0
95
MItem
29
..\..\..\..\..\lib\awk\tree.h
96
WString
3
NIL
97
WVList
0
98
WVList
0
63
1
1
0
99
MItem
28
..\..\..\..\..\lib\awk\val.h
100
WString
3
NIL
101
WVList
0
102
WVList
0
63
1
1
0

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
56 58
11 11
MItem MItem
3 3
@ -656,7 +656,7 @@ WVList
147 147
MItem MItem
33 33
..\..\..\..\..\lib\cmn\str_fcpy.c ..\..\..\..\..\lib\cmn\str_excl.c
148 148
WString WString
4 4
@ -673,8 +673,8 @@ WVList
0 0
151 151
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_len.c ..\..\..\..\..\lib\cmn\str_fcpy.c
152 152
WString WString
4 4
@ -691,8 +691,8 @@ WVList
0 0
155 155
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_pac.c ..\..\..\..\..\lib\cmn\str_incl.c
156 156
WString WString
4 4
@ -709,8 +709,8 @@ WVList
0 0
159 159
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_pbrk.c ..\..\..\..\..\lib\cmn\str_len.c
160 160
WString WString
4 4
@ -728,7 +728,7 @@ WVList
163 163
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_put.c ..\..\..\..\..\lib\cmn\str_pac.c
164 164
WString WString
4 4
@ -745,8 +745,8 @@ WVList
0 0
167 167
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_rev.c ..\..\..\..\..\lib\cmn\str_pbrk.c
168 168
WString WString
4 4
@ -764,7 +764,7 @@ WVList
171 171
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_rot.c ..\..\..\..\..\lib\cmn\str_put.c
172 172
WString WString
4 4
@ -782,7 +782,7 @@ WVList
175 175
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_set.c ..\..\..\..\..\lib\cmn\str_rev.c
176 176
WString WString
4 4
@ -800,7 +800,7 @@ WVList
179 179
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spl.c ..\..\..\..\..\lib\cmn\str_rot.c
180 180
WString WString
4 4
@ -818,7 +818,7 @@ WVList
183 183
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spn.c ..\..\..\..\..\lib\cmn\str_set.c
184 184
WString WString
4 4
@ -836,7 +836,7 @@ WVList
187 187
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_str.c ..\..\..\..\..\lib\cmn\str_spl.c
188 188
WString WString
4 4
@ -853,8 +853,8 @@ WVList
0 0
191 191
MItem MItem
34 32
..\..\..\..\..\lib\cmn\str_subst.c ..\..\..\..\..\lib\cmn\str_spn.c
192 192
WString WString
4 4
@ -872,7 +872,7 @@ WVList
195 195
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_tok.c ..\..\..\..\..\lib\cmn\str_str.c
196 196
WString WString
4 4
@ -889,8 +889,8 @@ WVList
0 0
199 199
MItem MItem
32 34
..\..\..\..\..\lib\cmn\str_trm.c ..\..\..\..\..\lib\cmn\str_subst.c
200 200
WString WString
4 4
@ -907,8 +907,8 @@ WVList
0 0
203 203
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_word.c ..\..\..\..\..\lib\cmn\str_tok.c
204 204
WString WString
4 4
@ -925,8 +925,8 @@ WVList
0 0
207 207
MItem MItem
29 32
..\..\..\..\..\lib\cmn\time.c ..\..\..\..\..\lib\cmn\str_trm.c
208 208
WString WString
4 4
@ -943,8 +943,8 @@ WVList
0 0
211 211
MItem MItem
28 33
..\..\..\..\..\lib\cmn\tio.c ..\..\..\..\..\lib\cmn\str_word.c
212 212
WString WString
4 4
@ -961,8 +961,8 @@ WVList
0 0
215 215
MItem MItem
32 29
..\..\..\..\..\lib\cmn\tio_get.c ..\..\..\..\..\lib\cmn\time.c
216 216
WString WString
4 4
@ -979,8 +979,8 @@ WVList
0 0
219 219
MItem MItem
32 28
..\..\..\..\..\lib\cmn\tio_put.c ..\..\..\..\..\lib\cmn\tio.c
220 220
WString WString
4 4
@ -997,8 +997,8 @@ WVList
0 0
223 223
MItem MItem
28 32
..\..\..\..\..\lib\cmn\xma.c ..\..\..\..\..\lib\cmn\tio_get.c
224 224
WString WString
4 4
@ -1015,44 +1015,44 @@ WVList
0 0
227 227
MItem MItem
3 32
*.h ..\..\..\..\..\lib\cmn\tio_put.c
228 228
WString WString
3 4
NIL COBJ
229 229
WVList WVList
0 0
230 230
WVList WVList
0 0
-1 11
1 1
1 1
0 0
231 231
MItem MItem
28 28
..\..\..\..\..\lib\cmn\mem.h ..\..\..\..\..\lib\cmn\xma.c
232 232
WString WString
3 4
NIL COBJ
233 233
WVList WVList
0 0
234 234
WVList WVList
0 0
227 11
1 1
1 1
0 0
235 235
MItem MItem
32 3
..\..\..\..\..\lib\cmn\syscall.h *.h
236 236
WString WString
3 3
@ -1063,7 +1063,43 @@ WVList
238 238
WVList WVList
0 0
227 -1
1
1
0
239
MItem
28
..\..\..\..\..\lib\cmn\mem.h
240
WString
3
NIL
241
WVList
0
242
WVList
0
235
1
1
0
243
MItem
32
..\..\..\..\..\lib\cmn\syscall.h
244
WString
3
NIL
245
WVList
0
246
WVList
0
235
1 1
1 1
0 0

View File

@ -67,63 +67,81 @@ qsecmn qsescm psapi
0 0
17 17
WVList WVList
1
18
ActionStates
19
WString
5
&Make
20
WVList
0 0
-1 -1
1 1
1 1
0 0
18 21
WPickList WPickList
2 2
19 22
MItem MItem
3 3
*.c *.c
20 23
WString WString
4 4
COBJ COBJ
21 24
WVList WVList
1 1
22 25
MVState MVState
23 26
WString WString
3 3
WCC WCC
24 27
WString WString
25 25
n????Include directories: n????Include directories:
1 1
25 28
WString WString
53 53
"$(%watcom)/h;$(%watcom)/h/nt;..\..\..\..\..\include" "$(%watcom)/h;$(%watcom)/h/nt;..\..\..\..\..\include"
0 0
26 29
WVList
1
30
ActionStates
31
WString
5
&Make
32
WVList WVList
0 0
-1 -1
1 1
1 1
0 0
27 33
MItem MItem
28 28
..\..\..\..\..\cmd\scm\scm.c ..\..\..\..\..\cmd\scm\scm.c
28 34
WString WString
4 4
COBJ COBJ
29 35
WVList WVList
0 0
30 36
WVList WVList
0 0
19 22
1 1
1 1
0 0

View File

@ -0,0 +1,457 @@
40
targetIdent
0
MProject
1
MComponent
0
2
WString
3
LIB
3
WString
5
n_2so
1
0
1
4
MCommand
0
5
MCommand
0
6
MItem
10
qseawk.lib
7
WString
3
LIB
8
WVList
0
9
WVList
0
-1
1
1
0
10
WPickList
22
11
MItem
3
*.c
12
WString
4
COBJ
13
WVList
1
14
MVState
15
WString
3
WCC
16
WString
25
n????Include directories:
1
17
WString
53
"$(%watcom)/h;$(%watcom)/h/nt;..\..\..\..\..\include"
0
18
WVList
0
-1
1
1
0
19
MItem
28
..\..\..\..\..\lib\awk\awk.c
20
WString
4
COBJ
21
WVList
0
22
WVList
0
11
1
1
0
23
MItem
28
..\..\..\..\..\lib\awk\err.c
24
WString
4
COBJ
25
WVList
0
26
WVList
0
11
1
1
0
27
MItem
28
..\..\..\..\..\lib\awk\fnc.c
28
WString
4
COBJ
29
WVList
0
30
WVList
0
11
1
1
0
31
MItem
29
..\..\..\..\..\lib\awk\misc.c
32
WString
4
COBJ
33
WVList
0
34
WVList
0
11
1
1
0
35
MItem
30
..\..\..\..\..\lib\awk\parse.c
36
WString
4
COBJ
37
WVList
0
38
WVList
0
11
1
1
0
39
MItem
28
..\..\..\..\..\lib\awk\rec.c
40
WString
4
COBJ
41
WVList
0
42
WVList
0
11
1
1
0
43
MItem
28
..\..\..\..\..\lib\awk\rio.c
44
WString
4
COBJ
45
WVList
0
46
WVList
0
11
1
1
0
47
MItem
28
..\..\..\..\..\lib\awk\run.c
48
WString
4
COBJ
49
WVList
0
50
WVList
0
11
1
1
0
51
MItem
28
..\..\..\..\..\lib\awk\std.c
52
WString
4
COBJ
53
WVList
0
54
WVList
0
11
1
1
0
55
MItem
29
..\..\..\..\..\lib\awk\tree.c
56
WString
4
COBJ
57
WVList
0
58
WVList
0
11
1
1
0
59
MItem
28
..\..\..\..\..\lib\awk\val.c
60
WString
4
COBJ
61
WVList
0
62
WVList
0
11
1
1
0
63
MItem
3
*.h
64
WString
3
NIL
65
WVList
0
66
WVList
0
-1
1
1
0
67
MItem
28
..\..\..\..\..\lib\awk\awk.h
68
WString
3
NIL
69
WVList
0
70
WVList
0
63
1
1
0
71
MItem
28
..\..\..\..\..\lib\awk\err.h
72
WString
3
NIL
73
WVList
0
74
WVList
0
63
1
1
0
75
MItem
28
..\..\..\..\..\lib\awk\fnc.h
76
WString
3
NIL
77
WVList
0
78
WVList
0
63
1
1
0
79
MItem
29
..\..\..\..\..\lib\awk\misc.h
80
WString
3
NIL
81
WVList
0
82
WVList
0
63
1
1
0
83
MItem
30
..\..\..\..\..\lib\awk\parse.h
84
WString
3
NIL
85
WVList
0
86
WVList
0
63
1
1
0
87
MItem
28
..\..\..\..\..\lib\awk\rio.h
88
WString
3
NIL
89
WVList
0
90
WVList
0
63
1
1
0
91
MItem
28
..\..\..\..\..\lib\awk\run.h
92
WString
3
NIL
93
WVList
0
94
WVList
0
63
1
1
0
95
MItem
29
..\..\..\..\..\lib\awk\tree.h
96
WString
3
NIL
97
WVList
0
98
WVList
0
63
1
1
0
99
MItem
28
..\..\..\..\..\lib\awk\val.h
100
WString
3
NIL
101
WVList
0
102
WVList
0
63
1
1
0

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
56 58
11 11
MItem MItem
3 3
@ -656,7 +656,7 @@ WVList
147 147
MItem MItem
33 33
..\..\..\..\..\lib\cmn\str_fcpy.c ..\..\..\..\..\lib\cmn\str_excl.c
148 148
WString WString
4 4
@ -673,8 +673,8 @@ WVList
0 0
151 151
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_len.c ..\..\..\..\..\lib\cmn\str_fcpy.c
152 152
WString WString
4 4
@ -691,8 +691,8 @@ WVList
0 0
155 155
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_pac.c ..\..\..\..\..\lib\cmn\str_incl.c
156 156
WString WString
4 4
@ -709,8 +709,8 @@ WVList
0 0
159 159
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_pbrk.c ..\..\..\..\..\lib\cmn\str_len.c
160 160
WString WString
4 4
@ -728,7 +728,7 @@ WVList
163 163
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_put.c ..\..\..\..\..\lib\cmn\str_pac.c
164 164
WString WString
4 4
@ -745,8 +745,8 @@ WVList
0 0
167 167
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_rev.c ..\..\..\..\..\lib\cmn\str_pbrk.c
168 168
WString WString
4 4
@ -764,7 +764,7 @@ WVList
171 171
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_rot.c ..\..\..\..\..\lib\cmn\str_put.c
172 172
WString WString
4 4
@ -782,7 +782,7 @@ WVList
175 175
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_set.c ..\..\..\..\..\lib\cmn\str_rev.c
176 176
WString WString
4 4
@ -800,7 +800,7 @@ WVList
179 179
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spl.c ..\..\..\..\..\lib\cmn\str_rot.c
180 180
WString WString
4 4
@ -818,7 +818,7 @@ WVList
183 183
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spn.c ..\..\..\..\..\lib\cmn\str_set.c
184 184
WString WString
4 4
@ -836,7 +836,7 @@ WVList
187 187
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_str.c ..\..\..\..\..\lib\cmn\str_spl.c
188 188
WString WString
4 4
@ -853,8 +853,8 @@ WVList
0 0
191 191
MItem MItem
34 32
..\..\..\..\..\lib\cmn\str_subst.c ..\..\..\..\..\lib\cmn\str_spn.c
192 192
WString WString
4 4
@ -872,7 +872,7 @@ WVList
195 195
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_tok.c ..\..\..\..\..\lib\cmn\str_str.c
196 196
WString WString
4 4
@ -889,8 +889,8 @@ WVList
0 0
199 199
MItem MItem
32 34
..\..\..\..\..\lib\cmn\str_trm.c ..\..\..\..\..\lib\cmn\str_subst.c
200 200
WString WString
4 4
@ -907,8 +907,8 @@ WVList
0 0
203 203
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_word.c ..\..\..\..\..\lib\cmn\str_tok.c
204 204
WString WString
4 4
@ -925,8 +925,8 @@ WVList
0 0
207 207
MItem MItem
29 32
..\..\..\..\..\lib\cmn\time.c ..\..\..\..\..\lib\cmn\str_trm.c
208 208
WString WString
4 4
@ -943,8 +943,8 @@ WVList
0 0
211 211
MItem MItem
28 33
..\..\..\..\..\lib\cmn\tio.c ..\..\..\..\..\lib\cmn\str_word.c
212 212
WString WString
4 4
@ -961,8 +961,8 @@ WVList
0 0
215 215
MItem MItem
32 29
..\..\..\..\..\lib\cmn\tio_get.c ..\..\..\..\..\lib\cmn\time.c
216 216
WString WString
4 4
@ -979,8 +979,8 @@ WVList
0 0
219 219
MItem MItem
32 28
..\..\..\..\..\lib\cmn\tio_put.c ..\..\..\..\..\lib\cmn\tio.c
220 220
WString WString
4 4
@ -997,8 +997,8 @@ WVList
0 0
223 223
MItem MItem
28 32
..\..\..\..\..\lib\cmn\xma.c ..\..\..\..\..\lib\cmn\tio_get.c
224 224
WString WString
4 4
@ -1015,44 +1015,44 @@ WVList
0 0
227 227
MItem MItem
3 32
*.h ..\..\..\..\..\lib\cmn\tio_put.c
228 228
WString WString
3 4
NIL COBJ
229 229
WVList WVList
0 0
230 230
WVList WVList
0 0
-1 11
1 1
1 1
0 0
231 231
MItem MItem
28 28
..\..\..\..\..\lib\cmn\mem.h ..\..\..\..\..\lib\cmn\xma.c
232 232
WString WString
3 4
NIL COBJ
233 233
WVList WVList
0 0
234 234
WVList WVList
0 0
227 11
1 1
1 1
0 0
235 235
MItem MItem
32 3
..\..\..\..\..\lib\cmn\syscall.h *.h
236 236
WString WString
3 3
@ -1063,7 +1063,43 @@ WVList
238 238
WVList WVList
0 0
227 -1
1
1
0
239
MItem
28
..\..\..\..\..\lib\cmn\mem.h
240
WString
3
NIL
241
WVList
0
242
WVList
0
235
1
1
0
243
MItem
32
..\..\..\..\..\lib\cmn\syscall.h
244
WString
3
NIL
245
WVList
0
246
WVList
0
235
1 1
1 1
0 0

View File

@ -16,7 +16,7 @@ MCommand
4 4
MCommand MCommand
0 0
11 14
5 5
WFileName WFileName
30 30
@ -62,30 +62,26 @@ WFileName
30 30
debug/win32/cmd/scm/qsescm.tgt debug/win32/cmd/scm/qsescm.tgt
16 16
WVList WFileName
11 28
debug/os2/lib/awk/qseawk.tgt
17 17
VComponent
18
WRect
410
1880
5700
4240
0
0
19
WFileName WFileName
30 30
release/os2/lib/cmn/qsecmn.tgt debug/win32/lib/awk/qseawk.tgt
36 18
40 WFileName
28
debug/os2/cmd/awk/qseawk.tgt
19
WVList
14
20 20
VComponent VComponent
21 21
WRect WRect
90 410
1240 1880
5700 5700
4240 4240
1 1
@ -93,15 +89,15 @@ WRect
22 22
WFileName WFileName
30 30
release/os2/lib/sed/qsesed.tgt release/os2/lib/cmn/qsecmn.tgt
0 36
0 42
23 23
VComponent VComponent
24 24
WRect WRect
2100 90
1400 1240
5700 5700
4240 4240
1 1
@ -109,47 +105,47 @@ WRect
25 25
WFileName WFileName
30 30
release/os2/cmd/sed/qsesed.tgt release/os2/lib/sed/qsesed.tgt
0
0 0
1
26 26
VComponent VComponent
27 27
WRect WRect
2100
1400
5700
4240
1
0
28
WFileName
30
release/os2/cmd/sed/qsesed.tgt
0
1
29
VComponent
30
WRect
590 590
1080 1080
5700 5700
4240 4240
1 1
0 0
28 31
WFileName WFileName
30 30
release/os2/lib/scm/qsescm.tgt release/os2/lib/scm/qsescm.tgt
0 0
2
29
VComponent
30
WRect
100
0 0
5700
4240
0
0
31
WFileName
28
debug/os2/lib/cmn/qsecmn.tgt
37
37
32 32
VComponent VComponent
33 33
WRect WRect
1050 100
2360 0
5700 5700
4240 4240
1 1
@ -157,15 +153,15 @@ WRect
34 34
WFileName WFileName
28 28
debug/os2/lib/sed/qsesed.tgt debug/os2/lib/cmn/qsecmn.tgt
0 29
5 35
35 35
VComponent VComponent
36 36
WRect WRect
1050
2360 2360
1280
5700 5700
4240 4240
1 1
@ -173,47 +169,47 @@ WRect
37 37
WFileName WFileName
28 28
debug/os2/lib/scm/qsescm.tgt debug/os2/lib/sed/qsesed.tgt
0 0
6 5
38 38
VComponent VComponent
39 39
WRect WRect
2460 2360
2400 1280
5700 5700
4240 4240
0 1
0 0
40 40
WFileName WFileName
28 28
debug/os2/lib/scm/qsescm.tgt
0
0
41
VComponent
42
WRect
2460
2413
5700
4240
1
0
43
WFileName
28
debug/os2/cmd/scm/qsescm.tgt debug/os2/cmd/scm/qsescm.tgt
0 0
1 1
41
VComponent
42
WRect
980
1080
5700
4240
0
0
43
WFileName
30
debug/win32/lib/cmn/qsecmn.tgt
29
29
44 44
VComponent VComponent
45 45
WRect WRect
200 980
1240 1080
5700 5700
4240 4240
1 1
@ -221,15 +217,15 @@ WRect
46 46
WFileName WFileName
30 30
debug/win32/lib/scm/qsescm.tgt debug/win32/lib/cmn/qsecmn.tgt
0 29
0 29
47 47
VComponent VComponent
48 48
WRect WRect
3280 200
40 1240
5700 5700
4240 4240
1 1
@ -237,7 +233,71 @@ WRect
49 49
WFileName WFileName
30 30
debug/win32/lib/scm/qsescm.tgt
0
0
50
VComponent
51
WRect
3280
40
5700
4240
1
0
52
WFileName
30
debug/win32/cmd/scm/qsescm.tgt debug/win32/cmd/scm/qsescm.tgt
0 0
0
53
VComponent
54
WRect
240
106
5700
4253
0
0
55
WFileName
28
debug/os2/lib/awk/qseawk.tgt
8
16
56
VComponent
57
WRect
830
2746
5700
4253
1 1
41 0
58
WFileName
30
debug/win32/lib/awk/qseawk.tgt
8
9
59
VComponent
60
WRect
2680
-133
5700
4253
0
0
61
WFileName
28
debug/os2/cmd/awk/qseawk.tgt
0
1
59

View File

@ -109,25 +109,23 @@ WString
COBJ COBJ
27 27
WVList WVList
0 2
28 28
WVList MVState
0
-1
1
1
0
29 29
MItem WString
28 3
../../../../../cmd/sed/sed.c WCC
30 30
WString WString
4 25
COBJ o?2??Include directories:
1
31 31
WVList WString
6 54
"$(%watcom)/h;$(%watcom)/h/os2;..\..\..\..\..\include"
0
32 32
MVState MVState
33 33
@ -136,79 +134,33 @@ WString
WCC WCC
34 34
WString WString
25
o?2??Include directories:
1
35
WString
54
"$(%watcom)/h;$(%watcom)/h/os2;..\..\..\..\..\include"
0
36
MVState
37
WString
3
WCC
38
WString
23 23
?????Macro definitions: ?????Macro definitions:
1 1
39 35
WString WString
6 6
NDEBUG NDEBUG
0 0
36
WVList
0
-1
1
1
0
37
MItem
28
..\..\..\..\..\cmd\sed\sed.c
38
WString
4
COBJ
39
WVList
0
40 40
MRState
41
WString
3
WCC
42
WString
21
?????No optimizations
1
0
43
MRState
44
WString
3
WCC
45
WString
27
?????Average space and time
1
1
46
MRState
47
WString
3
WCC
48
WString
29
?????No debugging information
1
1
49
MRState
50
WString
3
WCC
51
WString
24
?????Full debugging info
1
0
52
WVList WVList
0 0
25 25

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
56 58
11 11
MItem MItem
3 3
@ -720,7 +720,7 @@ WVList
163 163
MItem MItem
33 33
..\..\..\..\..\lib\cmn\str_fcpy.c ..\..\..\..\..\lib\cmn\str_excl.c
164 164
WString WString
4 4
@ -737,8 +737,8 @@ WVList
0 0
167 167
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_len.c ..\..\..\..\..\lib\cmn\str_fcpy.c
168 168
WString WString
4 4
@ -755,8 +755,8 @@ WVList
0 0
171 171
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_pac.c ..\..\..\..\..\lib\cmn\str_incl.c
172 172
WString WString
4 4
@ -773,8 +773,8 @@ WVList
0 0
175 175
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_pbrk.c ..\..\..\..\..\lib\cmn\str_len.c
176 176
WString WString
4 4
@ -792,7 +792,7 @@ WVList
179 179
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_put.c ..\..\..\..\..\lib\cmn\str_pac.c
180 180
WString WString
4 4
@ -809,8 +809,8 @@ WVList
0 0
183 183
MItem MItem
32 33
..\..\..\..\..\lib\cmn\str_rev.c ..\..\..\..\..\lib\cmn\str_pbrk.c
184 184
WString WString
4 4
@ -828,7 +828,7 @@ WVList
187 187
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_rot.c ..\..\..\..\..\lib\cmn\str_put.c
188 188
WString WString
4 4
@ -846,7 +846,7 @@ WVList
191 191
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_set.c ..\..\..\..\..\lib\cmn\str_rev.c
192 192
WString WString
4 4
@ -864,7 +864,7 @@ WVList
195 195
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spl.c ..\..\..\..\..\lib\cmn\str_rot.c
196 196
WString WString
4 4
@ -882,7 +882,7 @@ WVList
199 199
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_spn.c ..\..\..\..\..\lib\cmn\str_set.c
200 200
WString WString
4 4
@ -900,7 +900,7 @@ WVList
203 203
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_str.c ..\..\..\..\..\lib\cmn\str_spl.c
204 204
WString WString
4 4
@ -917,8 +917,8 @@ WVList
0 0
207 207
MItem MItem
34 32
..\..\..\..\..\lib\cmn\str_subst.c ..\..\..\..\..\lib\cmn\str_spn.c
208 208
WString WString
4 4
@ -936,7 +936,7 @@ WVList
211 211
MItem MItem
32 32
..\..\..\..\..\lib\cmn\str_tok.c ..\..\..\..\..\lib\cmn\str_str.c
212 212
WString WString
4 4
@ -953,8 +953,8 @@ WVList
0 0
215 215
MItem MItem
32 34
..\..\..\..\..\lib\cmn\str_trm.c ..\..\..\..\..\lib\cmn\str_subst.c
216 216
WString WString
4 4
@ -971,8 +971,8 @@ WVList
0 0
219 219
MItem MItem
33 32
..\..\..\..\..\lib\cmn\str_word.c ..\..\..\..\..\lib\cmn\str_tok.c
220 220
WString WString
4 4
@ -989,8 +989,8 @@ WVList
0 0
223 223
MItem MItem
29 32
..\..\..\..\..\lib\cmn\time.c ..\..\..\..\..\lib\cmn\str_trm.c
224 224
WString WString
4 4
@ -1007,8 +1007,8 @@ WVList
0 0
227 227
MItem MItem
28 33
..\..\..\..\..\lib\cmn\tio.c ..\..\..\..\..\lib\cmn\str_word.c
228 228
WString WString
4 4
@ -1025,8 +1025,8 @@ WVList
0 0
231 231
MItem MItem
32 29
..\..\..\..\..\lib\cmn\tio_get.c ..\..\..\..\..\lib\cmn\time.c
232 232
WString WString
4 4
@ -1043,8 +1043,8 @@ WVList
0 0
235 235
MItem MItem
32 28
..\..\..\..\..\lib\cmn\tio_put.c ..\..\..\..\..\lib\cmn\tio.c
236 236
WString WString
4 4
@ -1061,8 +1061,8 @@ WVList
0 0
239 239
MItem MItem
28 32
..\..\..\..\..\lib\cmn\xma.c ..\..\..\..\..\lib\cmn\tio_get.c
240 240
WString WString
4 4
@ -1079,44 +1079,44 @@ WVList
0 0
243 243
MItem MItem
3 32
*.h ..\..\..\..\..\lib\cmn\tio_put.c
244 244
WString WString
3 4
NIL COBJ
245 245
WVList WVList
0 0
246 246
WVList WVList
0 0
-1 11
1 1
1 1
0 0
247 247
MItem MItem
28 28
..\..\..\..\..\lib\cmn\mem.h ..\..\..\..\..\lib\cmn\xma.c
248 248
WString WString
3 4
NIL COBJ
249 249
WVList WVList
0 0
250 250
WVList WVList
0 0
243 11
1 1
1 1
0 0
251 251
MItem MItem
32 3
..\..\..\..\..\lib\cmn\syscall.h *.h
252 252
WString WString
3 3
@ -1127,7 +1127,43 @@ WVList
254 254
WVList WVList
0 0
243 -1
1
1
0
255
MItem
28
..\..\..\..\..\lib\cmn\mem.h
256
WString
3
NIL
257
WVList
0
258
WVList
0
251
1
1
0
259
MItem
32
..\..\..\..\..\lib\cmn\syscall.h
260
WString
3
NIL
261
WVList
0
262
WVList
0
251
1 1
1 1
0 0