summaryrefslogtreecommitdiff
path: root/solenv/bin/fix_dxp_file.cmd
blob: 66149c1207ea45b8eedf992c97488cb892c1c74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* os2 build scripts

this script is used to process dxp files produced from .map

*/

do while( lines())

	l = linein()

	l = strip(l)
	l = strip(l,,X2C(9))
	l = strip(l,,";")
	if LEFT( l,4) \= 'Java' THEN l = '_'l

	/* remove empty lines */
	if l = '_' then l = ''

	/* remove component_getDescriptionFunc, since it is already added by tg_def */
	if l = '_component_getDescriptionFunc' then l = ''
	if l = '_GetVersionInfo' then l = ''

	/* remove GLOBAL symbols */
/*
	if WORDPOS( l, '_GLOBAL_') > 0 then l = ''
*/

	say l

end