version	U12.1.00
uid	paths.u1-1788539911-0
impl	error
link	getpaths.u
global	10
	0,000001,iconc,0
	1,000005,pathsep,0
	2,000005,ulibprefix,0
	3,000005,ulibpaths,0
	4,000005,ipaths,0
	5,000005,lpaths,0
	6,000005,semicolonpath,2
	7,000005,paths_get,2
	8,000005,ipaths_get,0
	9,000005,lpaths_get,0

proc pathsep
	local	0,000000,getenv
	con	0,010000,7,120,101,124,110,123,105,120
	con	1,010000,1,073
	declend
	filen	paths.icn
	line	23
	colm	11
	synt	any
	mark	L1
	mark	L2
	mark	L3
	var	0
	str	0
	line	24
	colm	17
	synt	any
	invoke	1
	line	24
	colm	29
	synt	any
	esusp
	goto	L4
lab L3
	str	1
lab L4
	line	24
	colm	4
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	25
	colm	1
	synt	any
	pfail
	end
proc ulibprefix
	local	0,000040,prefix
	local	1,000020,path
	local	2,000020,f
	local	3,000020,c
	local	4,000020,i
	local	5,000000,tab
	local	6,000000,upto
	local	7,000000,open
	local	8,000000,getpaths
	local	9,000000,close
	local	10,000000,find
	local	11,000000,map
	con	0,010000,13,114,151,142,162,141,162,151,145,163,040,141,164,040
	con	1,020000,1,073
	con	2,002000,1,0
	con	3,010000,1,057
	con	4,010000,12,102,151,156,141,162,151,145,163,040,141,164,040
	con	5,010000,7,165,156,151,143,157,156,170
	con	6,010000,5,151,143,157,156,170
	con	7,010000,11,165,156,151,143,157,156,170,056,145,170,145
	con	8,010000,9,151,143,157,156,170,056,145,170,145
	con	9,010000,12,167,165,156,151,143,157,156,170,056,145,170,145
	con	10,010000,10,167,151,143,157,156,170,056,145,170,145
	con	11,002000,1,1
	con	12,010000,13,115,123,040,127,151,156,144,157,167,163,040,116,124
	con	13,020000,1,057
	con	14,020000,1,134
	declend
	line	28
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	32
	colm	7
	synt	ifelse
	mark	L5
	pnull
	var	1
	line	32
	colm	19
	synt	any
	keywd	features
	line	32
	colm	29
	synt	any
	bscan
	pnull
	str	0
	line	32
	colm	32
	synt	any
	tabmat
	pop
	var	5
	mark	L7
	var	6
	cset	1
	line	32
	colm	59
	synt	any
	invoke	1
	line	32
	colm	65
	synt	any
	esusp
	goto	L8
lab L7
	int	2
lab L8
	line	32
	colm	54
	synt	any
	invoke	1
	line	32
	colm	29
	synt	any
	escan
	line	32
	colm	15
	synt	any
	asgn
	unmark
	pnull
	var	0
	pnull
	var	1
	str	3
	line	33
	colm	25
	synt	any
	cat
	line	33
	colm	17
	synt	any
	asgn
	goto	L6
lab L5
	line	34
	colm	12
	synt	if
	mark0
	mark	L9
	pnull
	var	1
	line	34
	colm	25
	synt	any
	keywd	features
	line	34
	colm	35
	synt	any
	bscan
	pnull
	str	4
	line	34
	colm	38
	synt	any
	tabmat
	pop
	var	5
	int	2
	line	34
	colm	59
	synt	any
	invoke	1
	line	34
	colm	35
	synt	any
	escan
	line	34
	colm	21
	synt	any
	asgn
	line	34
	colm	66
	synt	any
	esusp
	goto	L10
lab L9
	pnull
	var	2
	var	7
	pnull
	pnull
	var	1
	var	8
	line	35
	colm	40
	synt	any
	invoke	0
	line	35
	colm	29
	synt	any
	asgn
	mark	L11
	str	5
	line	35
	colm	58
	synt	any
	esusp
	goto	L12
lab L11
	mark	L13
	str	6
	line	35
	colm	68
	synt	any
	esusp
	goto	L14
lab L13
	mark	L15
	str	7
	line	36
	colm	62
	synt	any
	esusp
	goto	L16
lab L15
	mark	L17
	str	8
	line	36
	colm	75
	synt	any
	esusp
	goto	L18
lab L17
	mark	L19
	str	9
	line	37
	colm	63
	synt	any
	esusp
	goto	L20
lab L19
	str	10
lab L20
lab L18
lab L16
lab L14
lab L12
	line	35
	colm	44
	synt	any
	cat
	line	35
	colm	22
	synt	any
	invoke	1
	line	35
	colm	15
	synt	any
	asgn
lab L10
	unmark
	mark	L21
	var	9
	pnull
	var	2
	line	39
	colm	16
	synt	any
	nonnull
	line	39
	colm	15
	synt	any
	invoke	1
	unmark
lab L21
	mark	L22
	pnull
	var	3
	pnull
	var	1
	pnull
	int	11
	line	45
	colm	20
	synt	any
	neg
	int	2
	line	45
	colm	22
	synt	any
	synt	any
	sect
	line	45
	colm	12
	synt	any
	asgn
	unmark
lab L22
	mark	L23
	pnull
	var	1
	pnull
	var	1
	int	11
	pnull
	int	11
	line	46
	colm	25
	synt	any
	neg
	line	46
	colm	24
	synt	any
	synt	any
	sect
	line	46
	colm	15
	synt	any
	asgn
	unmark
lab L23
	mark	L24
	line	48
	colm	10
	synt	every
	mark0
	pnull
	var	4
	var	10
	var	3
	var	1
	line	48
	colm	24
	synt	any
	invoke	2
	line	48
	colm	17
	synt	any
	asgn
	pop
lab L25
	efail
lab L26
	line	48
	colm	10
	synt	endevery
	unmark
lab L24
	pnull
	var	0
	pnull
	var	1
	int	11
	pnull
	var	4
	int	11
	line	49
	colm	28
	synt	any
	plus
	line	49
	colm	26
	synt	any
	synt	any
	sect
	line	49
	colm	17
	synt	any
	asgn
	line	34
	colm	12
	synt	endif
lab L6
	line	32
	colm	7
	synt	endifelse
	unmark
lab L4
	line	51
	colm	7
	synt	if
	mark0
	pnull
	line	51
	colm	10
	synt	any
	keywd	features
	str	12
	line	51
	colm	19
	synt	any
	lexeq
	unmark
	pnull
	var	0
	var	11
	var	0
	cset	13
	cset	14
	line	52
	colm	22
	synt	any
	invoke	3
	line	52
	colm	17
	synt	any
	asgn
	line	51
	colm	7
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L27
	mark	L28
	var	0
	line	54
	colm	4
	synt	any
	pret
lab L28
	synt	any
	pfail
	unmark
lab L27
	pnull
	line	55
	colm	1
	synt	any
	pfail
	end
proc ulibpaths
	local	0,000040,libpath
	local	1,000020,prefix
	local	2,000020,sep
	local	3,000000,pathsep
	local	4,000000,ulibprefix
	local	5,000000,map
	con	0,010000,7,151,160,154,057,154,151,142
	con	1,010000,7,165,156,151,057,154,151,142
	con	2,010000,7,165,156,151,057,147,165,151
	con	3,010000,7,165,156,151,057,170,155,154
	con	4,010000,10,165,156,151,057,160,141,162,163,145,162
	con	5,010000,6,165,156,151,057,063,144
	con	6,010000,11,160,154,165,147,151,156,163,057,154,151,142
	con	7,010000,13,115,123,040,127,151,156,144,157,167,163,040,116,124
	con	8,020000,1,057
	con	9,020000,1,134
	declend
	line	58
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	pnull
	var	2
	var	3
	line	62
	colm	21
	synt	any
	invoke	0
	line	62
	colm	11
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	1
	var	4
	line	63
	colm	27
	synt	any
	invoke	0
	line	63
	colm	14
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	0
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	var	1
	str	0
	line	65
	colm	18
	synt	any
	cat
	var	2
	line	65
	colm	35
	synt	any
	cat
	var	1
	line	65
	colm	42
	synt	any
	cat
	str	1
	line	66
	colm	18
	synt	any
	cat
	var	2
	line	66
	colm	35
	synt	any
	cat
	var	1
	line	66
	colm	42
	synt	any
	cat
	str	2
	line	67
	colm	18
	synt	any
	cat
	var	2
	line	67
	colm	35
	synt	any
	cat
	var	1
	line	67
	colm	42
	synt	any
	cat
	str	3
	line	68
	colm	18
	synt	any
	cat
	var	2
	line	68
	colm	35
	synt	any
	cat
	var	1
	line	68
	colm	42
	synt	any
	cat
	str	4
	line	69
	colm	18
	synt	any
	cat
	var	2
	line	69
	colm	35
	synt	any
	cat
	var	1
	line	69
	colm	42
	synt	any
	cat
	str	5
	line	70
	colm	18
	synt	any
	cat
	var	2
	line	70
	colm	35
	synt	any
	cat
	var	1
	line	70
	colm	42
	synt	any
	cat
	str	6
	line	71
	colm	18
	synt	any
	cat
	var	2
	line	71
	colm	35
	synt	any
	cat
	line	64
	colm	15
	synt	any
	asgn
	unmark
lab L6
	line	73
	colm	7
	synt	if
	mark0
	pnull
	line	73
	colm	10
	synt	any
	keywd	features
	str	7
	line	73
	colm	19
	synt	any
	lexeq
	unmark
	pnull
	var	0
	var	5
	var	0
	cset	8
	cset	9
	line	74
	colm	23
	synt	any
	invoke	3
	line	74
	colm	18
	synt	any
	asgn
	line	73
	colm	7
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L7
	mark	L8
	var	0
	line	76
	colm	4
	synt	any
	pret
lab L8
	synt	any
	pfail
	unmark
lab L7
	pnull
	line	77
	colm	1
	synt	any
	pfail
	end
proc ipaths
	local	0,000040,pathstr
	local	1,000000,semicolonpath
	local	2,000000,pathsep
	local	3,000000,ulibpaths
	con	0,010000,5,111,120,101,124,110
	con	1,010000,1,056
	declend
	line	79
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	pnull
	pnull
	mark	L4
	var	1
	str	0
	line	82
	colm	34
	synt	any
	invoke	1
	line	82
	colm	44
	synt	any
	esusp
	goto	L5
lab L4
	str	1
lab L5
	var	2
	line	82
	colm	61
	synt	any
	invoke	0
	line	82
	colm	51
	synt	any
	cat
	var	3
	line	82
	colm	76
	synt	any
	invoke	0
	line	82
	colm	64
	synt	any
	cat
	line	82
	colm	16
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L6
	mark	L7
	var	0
	line	83
	colm	5
	synt	any
	pret
lab L7
	synt	any
	pfail
	unmark
lab L6
	pnull
	line	84
	colm	1
	synt	any
	pfail
	end
proc lpaths
	local	0,000040,pathstr
	local	1,000020,sep
	local	2,000020,prefix
	local	3,000000,pathsep
	local	4,000000,ulibprefix
	local	5,000000,ulibpaths
	local	6,000000,iconc
	local	7,000000,semicolonpath
	local	8,000000,map
	con	0,010000,9,057,151,160,154,057,151,156,143,154
	con	1,010000,10,057,151,160,154,057,147,151,156,143,154
	con	2,010000,10,057,151,160,154,057,155,151,156,143,154
	con	3,010000,10,057,151,160,154,057,160,162,157,143,163
	con	4,010000,11,057,151,160,154,057,147,160,162,157,143,163
	con	5,010000,11,057,151,160,154,057,147,160,162,157,147,163
	con	6,010000,5,114,120,101,124,110
	con	7,010000,1,056
	con	8,010000,13,115,123,040,127,151,156,144,157,167,163,040,116,124
	con	9,020000,1,057
	con	10,020000,1,134
	declend
	line	86
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	pnull
	var	1
	var	3
	line	90
	colm	21
	synt	any
	invoke	0
	line	90
	colm	11
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	2
	var	4
	line	91
	colm	27
	synt	any
	invoke	0
	line	91
	colm	14
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	0
	var	5
	line	93
	colm	27
	synt	any
	invoke	0
	line	93
	colm	15
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	0
	dup
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	var	2
	str	0
	line	96
	colm	17
	synt	any
	cat
	var	1
	line	96
	colm	33
	synt	any
	cat
	var	2
	line	96
	colm	40
	synt	any
	cat
	str	1
	line	97
	colm	17
	synt	any
	cat
	var	1
	line	97
	colm	33
	synt	any
	cat
	var	2
	line	97
	colm	40
	synt	any
	cat
	str	2
	line	98
	colm	17
	synt	any
	cat
	var	1
	line	98
	colm	33
	synt	any
	cat
	line	95
	colm	15
	synt	any
	cat
	asgn
	unmark
lab L7
	mark	L8
	line	100
	colm	7
	synt	if
	mark0
	pnull
	var	6
	line	100
	colm	10
	synt	any
	nonnull
	unmark
	pnull
	var	0
	dup
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	pnull
	var	2
	str	3
	line	102
	colm	20
	synt	any
	cat
	var	1
	line	102
	colm	37
	synt	any
	cat
	var	2
	line	102
	colm	44
	synt	any
	cat
	str	4
	line	103
	colm	20
	synt	any
	cat
	var	1
	line	103
	colm	37
	synt	any
	cat
	var	2
	line	103
	colm	44
	synt	any
	cat
	str	5
	line	104
	colm	20
	synt	any
	cat
	var	1
	line	104
	colm	37
	synt	any
	cat
	line	101
	colm	18
	synt	any
	cat
	asgn
	line	100
	colm	7
	synt	endif
	unmark
lab L8
	mark	L9
	pnull
	var	0
	pnull
	pnull
	mark	L10
	var	7
	str	6
	line	106
	colm	32
	synt	any
	invoke	1
	line	106
	colm	42
	synt	any
	esusp
	goto	L11
lab L10
	str	7
lab L11
	var	1
	line	106
	colm	49
	synt	any
	cat
	var	0
	line	106
	colm	56
	synt	any
	cat
	line	106
	colm	15
	synt	any
	asgn
	unmark
lab L9
	line	107
	colm	7
	synt	if
	mark0
	pnull
	line	107
	colm	10
	synt	any
	keywd	features
	str	8
	line	107
	colm	19
	synt	any
	lexeq
	unmark
	pnull
	var	0
	var	8
	var	0
	cset	9
	cset	10
	line	108
	colm	23
	synt	any
	invoke	3
	line	108
	colm	18
	synt	any
	asgn
	line	107
	colm	7
	synt	endif
	unmark
lab L2
	einit	L1
lab L3
	mark	L12
	mark	L13
	var	0
	line	110
	colm	4
	synt	any
	pret
lab L13
	synt	any
	pfail
	unmark
lab L12
	pnull
	line	111
	colm	1
	synt	any
	pfail
	end
proc semicolonpath
	local	0,001000,env
	local	1,001000,sep
	local	2,000020,p
	local	3,000000,getenv
	local	4,000000,find
	local	5,000000,map
	con	0,010000,7,120,101,124,110,123,105,120
	con	1,010000,1,073
	con	2,010000,1,040
	declend
	line	114
	colm	11
	synt	any
	mark	L1
	pnull
	var	2
	mark	L2
	var	3
	var	0
	line	116
	colm	15
	synt	any
	invoke	1
	line	116
	colm	21
	synt	any
	esusp
	goto	L3
lab L2
	line	116
	colm	23
	synt	any
	pfail
lab L3
	line	116
	colm	6
	synt	any
	asgn
	unmark
lab L1
	mark	L4
	line	117
	colm	4
	synt	if
	mark0
	mark	L5
	var	3
	str	0
	line	117
	colm	17
	synt	any
	invoke	1
	unmark
	efail
lab L5
	pnull
	unmark
	line	120
	colm	7
	synt	if
	mark0
	mark	L6
	var	4
	str	1
	var	2
	line	120
	colm	18
	synt	any
	invoke	2
	unmark
	efail
lab L6
	pnull
	unmark
	mark	L7
	var	5
	var	2
	str	2
	str	1
	line	121
	colm	20
	synt	any
	invoke	3
	line	121
	colm	10
	synt	any
	pret
lab L7
	synt	any
	pfail
	line	120
	colm	7
	synt	endif
	line	117
	colm	4
	synt	endif
	unmark
lab L4
	mark	L8
	mark	L9
	var	2
	line	122
	colm	4
	synt	any
	pret
lab L9
	synt	any
	pfail
	unmark
lab L8
	pnull
	line	123
	colm	1
	synt	any
	pfail
	end
proc paths_get
	local	0,001000,path
	local	1,001000,sep
	local	2,000020,pathstr
	local	3,000020,rslt
	local	4,000000,pathsep
	local	5,000000,put
	local	6,000000,tab
	local	7,000000,find
	local	8,000000,many
	con	0,010000,0
	con	1,020000,3,073,040,011
	con	2,002000,1,0
	declend
	line	125
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	pnull
	line	127
	colm	12
	synt	any
	llist	0
	line	127
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	2
	var	0
	line	128
	colm	12
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	1
	line	129
	colm	4
	synt	any
	null
	var	4
	line	129
	colm	19
	synt	any
	invoke	0
	line	129
	colm	9
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	line	130
	colm	4
	synt	if
	mark0
	pnull
	pnull
	var	2
	line	130
	colm	7
	synt	any
	nonnull
	str	0
	line	130
	colm	16
	synt	any
	lexne
	unmark
	var	2
	line	131
	colm	15
	synt	any
	bscan
	mark	L5
lab L6
	line	132
	colm	10
	synt	while
	mark0
	var	5
	var	3
	var	6
	var	7
	var	1
	line	132
	colm	34
	synt	any
	invoke	1
	line	132
	colm	29
	synt	any
	invoke	1
	line	132
	colm	19
	synt	any
	invoke	2
	unmark
	mark	L6
	var	6
	var	8
	cset	1
	line	133
	colm	21
	synt	any
	invoke	1
	line	133
	colm	16
	synt	any
	invoke	1
lab L7
	unmark
	goto	L6
lab L8
	line	132
	colm	10
	synt	endwhile
	unmark
lab L5
	var	5
	var	3
	var	6
	int	2
	line	134
	colm	23
	synt	any
	invoke	1
	line	134
	colm	13
	synt	any
	invoke	2
	line	131
	colm	15
	synt	any
	escan
	line	130
	colm	4
	synt	endif
	unmark
lab L4
	mark	L9
	mark	L10
	var	3
	line	137
	colm	4
	synt	any
	pret
lab L10
	synt	any
	pfail
	unmark
lab L9
	pnull
	line	138
	colm	1
	synt	any
	pfail
	end
proc ipaths_get
	local	0,000040,rslt
	local	1,000000,paths_get
	local	2,000000,ipaths
	declend
	line	140
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	line	143
	colm	31
	synt	any
	invoke	0
	line	143
	colm	24
	synt	any
	invoke	1
	line	143
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	mark	L5
	var	0
	line	144
	colm	4
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	145
	colm	1
	synt	any
	pfail
	end
proc lpaths_get
	local	0,000040,rslt
	local	1,000000,paths_get
	local	2,000000,lpaths
	declend
	line	147
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	line	150
	colm	31
	synt	any
	invoke	0
	line	150
	colm	24
	synt	any
	invoke	1
	line	150
	colm	12
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L4
	mark	L5
	var	0
	line	151
	colm	4
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	152
	colm	1
	synt	any
	pfail
	end
