version	U12.1.00
uid	testpatterns.u1-1788086511-0
impl	local
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/attlist.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/attributedef.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/formatter.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmlformatter.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/canonicalxmlformatter.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/node.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/cdata.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/comment.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/contentspec.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/errorhandler.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/defaulterrorhandler.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/resolver.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/defaultresolver.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/doctype.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/document.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/element.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/elementdecl.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/entitydef.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/externalid.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/globalname.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/htmldocument.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/htmlelement.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/htmlformatter.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/parser.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/htmlparser.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/notationdecl.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/processinginstruction.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmldecl.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmldocument.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmlelement.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmlparser.u
link	/pobj/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/webscraper.u
global	5
	0,000001,p,0
	1,000005,main,0
	2,000005,do_match,2
	3,000005,test,3
	4,000005,convert,1

proc main
	local	0,000000,p
	local	1,000000,xml__XmlParser
	local	2,000000,test
	local	3,000000,write
	con	0,010000,7,050,141,054,142,054,143,051
	con	1,010000,3,141,142,143
	con	2,010000,2,141,142
	con	3,010000,2,170,171
	con	4,010000,0
	con	5,010000,9,050,141,174,142,174,143,174,144,051
	con	6,010000,1,141
	con	7,010000,1,142
	con	8,010000,1,143
	con	9,010000,1,144
	con	10,010000,10,050,141,174,142,174,143,174,144,051,052
	con	11,010000,11,141,142,143,144,144,141,142,141,142,141,142
	con	12,010000,6,143,143,143,143,143,143
	con	13,010000,11,144,144,144,142,141,142,141,142,142,141,144
	con	14,010000,3,141,142,170
	con	15,010000,5,141,141,141,141,170
	con	16,010000,8,050,141,054,142,077,054,143,051
	con	17,010000,2,141,143
	con	18,010000,11,050,141,054,050,170,174,171,051,054,143,051
	con	19,010000,3,141,170,143
	con	20,010000,3,141,171,143
	con	21,010000,5,050,141,052,051,052
	con	22,010000,3,141,141,141
	con	23,010000,2,141,141
	con	24,010000,3,141,144,142
	con	25,010000,1,172
	con	26,010000,5,050,141,052,051,053
	con	27,010000,4,050,141,053,051
	con	28,010000,7,050,141,052,054,142,052,051
	con	29,010000,5,141,141,141,142,142
	con	30,010000,3,141,141,142
	con	31,010000,8,050,141,052,054,142,053,051,052
	con	32,010000,3,142,142,142
	con	33,010000,20,141,142,142,141,142,142,142,142,142,142,141,142,142,142,142,141,142,142,141,142
	con	34,010000,16,142,142,142,142,142,141,141,142,142,142,142,141,141,141,144,142
	con	35,010000,19,050,170,052,054,141,054,170,052,054,142,054,170,052,054,143,054,170,052,051
	con	36,010000,9,170,170,141,142,170,170,170,170,143
	con	37,010000,13,050,170,052,054,170,054,170,054,170,054,170,052,051
	con	38,010000,3,170,170,170
	con	39,010000,4,170,170,170,170
	con	40,010000,5,170,170,170,170,170
	con	41,010000,1,170
	con	42,010000,2,170,170
	con	43,010000,19,050,050,141,174,142,051,054,050,141,174,144,051,054,050,141,174,145,051,051
	con	44,010000,3,141,144,145
	con	45,010000,3,141,144,141
	con	46,010000,2,157,153
	declend
	filen	testpatterns.icn
	line	13
	colm	12
	synt	any
	mark	L1
	pnull
	var	0
	var	1
	line	14
	colm	23
	synt	any
	invoke	0
	line	14
	colm	6
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	var	2
	str	0
	pnull
	str	1
	line	17
	colm	9
	synt	any
	llist	1
	pnull
	str	2
	str	3
	str	4
	line	18
	colm	9
	synt	any
	llist	3
	line	16
	colm	8
	synt	any
	invoke	3
	unmark
lab L2
	mark	L3
	var	2
	str	5
	pnull
	str	6
	str	7
	str	8
	str	9
	line	22
	colm	9
	synt	any
	llist	4
	pnull
	str	2
	str	3
	str	4
	line	23
	colm	9
	synt	any
	llist	3
	line	21
	colm	8
	synt	any
	invoke	3
	unmark
lab L3
	mark	L4
	var	2
	str	10
	pnull
	str	4
	str	11
	str	12
	str	13
	line	26
	colm	9
	synt	any
	llist	4
	pnull
	str	14
	str	3
	str	15
	line	27
	colm	9
	synt	any
	llist	3
	line	25
	colm	8
	synt	any
	invoke	3
	unmark
lab L4
	mark	L5
	var	2
	str	16
	pnull
	str	1
	str	17
	line	30
	colm	9
	synt	any
	llist	2
	pnull
	str	2
	str	3
	str	4
	line	31
	colm	9
	synt	any
	llist	3
	line	29
	colm	8
	synt	any
	invoke	3
	unmark
lab L5
	mark	L6
	var	2
	str	18
	pnull
	str	19
	str	20
	line	34
	colm	9
	synt	any
	llist	2
	pnull
	str	2
	str	17
	str	4
	line	35
	colm	9
	synt	any
	llist	3
	line	33
	colm	8
	synt	any
	invoke	3
	unmark
lab L6
	mark	L7
	var	2
	str	21
	pnull
	str	22
	str	6
	str	23
	str	4
	line	38
	colm	9
	synt	any
	llist	4
	pnull
	str	24
	str	3
	str	25
	line	39
	colm	9
	synt	any
	llist	3
	line	37
	colm	8
	synt	any
	invoke	3
	unmark
lab L7
	mark	L8
	var	2
	str	26
	pnull
	str	22
	str	6
	str	23
	str	4
	line	42
	colm	9
	synt	any
	llist	4
	pnull
	str	24
	str	3
	str	25
	line	43
	colm	9
	synt	any
	llist	3
	line	41
	colm	8
	synt	any
	invoke	3
	unmark
lab L8
	mark	L9
	var	2
	str	27
	pnull
	str	22
	str	6
	str	23
	line	46
	colm	9
	synt	any
	llist	3
	pnull
	str	24
	str	3
	str	25
	str	4
	line	47
	colm	9
	synt	any
	llist	4
	line	45
	colm	8
	synt	any
	invoke	3
	unmark
lab L9
	mark	L10
	var	2
	str	28
	pnull
	str	29
	str	6
	str	7
	str	4
	str	30
	line	50
	colm	9
	synt	any
	llist	5
	pnull
	str	24
	str	3
	str	25
	line	51
	colm	9
	synt	any
	llist	3
	line	49
	colm	8
	synt	any
	invoke	3
	unmark
lab L10
	mark	L11
	var	2
	str	31
	pnull
	str	32
	str	4
	str	7
	str	33
	str	2
	line	54
	colm	9
	synt	any
	llist	5
	pnull
	str	34
	str	3
	str	25
	line	55
	colm	9
	synt	any
	llist	3
	line	53
	colm	8
	synt	any
	invoke	3
	unmark
lab L11
	mark	L12
	var	2
	str	35
	pnull
	str	36
	line	58
	colm	9
	synt	any
	llist	1
	pnull
	str	34
	str	3
	str	25
	line	59
	colm	9
	synt	any
	llist	3
	line	57
	colm	8
	synt	any
	invoke	3
	unmark
lab L12
	mark	L13
	var	2
	str	37
	pnull
	str	38
	str	39
	str	40
	line	62
	colm	9
	synt	any
	llist	3
	pnull
	str	4
	str	41
	str	42
	str	25
	line	63
	colm	9
	synt	any
	llist	4
	line	61
	colm	8
	synt	any
	invoke	3
	unmark
lab L13
	mark	L14
	var	2
	str	43
	pnull
	str	22
	str	44
	str	45
	line	66
	colm	9
	synt	any
	llist	3
	pnull
	str	24
	str	3
	str	25
	str	4
	line	67
	colm	9
	synt	any
	llist	4
	line	65
	colm	8
	synt	any
	invoke	3
	unmark
lab L14
	mark	L15
	var	3
	str	46
	line	69
	colm	9
	synt	any
	invoke	1
	unmark
lab L15
	pnull
	line	70
	colm	1
	synt	any
	pfail
	end
proc do_match
	local	0,001000,spec
	local	1,001000,l
	con	0,002000,1,1
	declend
	line	72
	colm	12
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	var	0
	line	73
	colm	15
	synt	any
	field	pattern_match
	var	1
	int	0
	line	73
	colm	29
	synt	any
	invoke	2
	pnull
	var	1
	line	73
	colm	37
	synt	any
	size
	line	73
	colm	35
	synt	any
	numeq
	line	73
	colm	4
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	74
	colm	2
	synt	any
	pfail
	end
proc test
	local	0,001000,pat
	local	1,001000,l1
	local	2,001000,l2
	local	3,000020,spec
	local	4,000020,x
	local	5,000020,l
	local	6,000000,p
	local	7,000000,stop
	local	8,000000,write
	local	9,000000,convert
	local	10,000000,do_match
	con	0,010000,16,103,157,165,154,144,156,164,040,160,141,162,163,145,040,072,040
	con	1,010000,14,143,157,165,154,144,156,164,040,155,141,164,143,150,040
	con	2,010000,10,104,111,104,040,155,141,164,143,150,040
	con	3,010000,24,075,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,055,075
	declend
	line	76
	colm	12
	synt	any
	mark	L1
	pnull
	var	3
	mark	L2
	var	0
	line	78
	colm	17
	synt	any
	bscan
	pnull
	var	6
	line	78
	colm	20
	synt	any
	field	parse_content_spec
	line	78
	colm	39
	synt	any
	invoke	0
	line	78
	colm	17
	synt	any
	escan
	line	78
	colm	44
	synt	any
	esusp
	goto	L3
lab L2
	var	7
	pnull
	str	0
	var	0
	line	78
	colm	70
	synt	any
	cat
	line	78
	colm	50
	synt	any
	invoke	1
lab L3
	line	78
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L4
	pnull
	var	3
	line	79
	colm	8
	synt	any
	field	print_structure
	line	79
	colm	24
	synt	any
	invoke	0
	unmark
lab L4
	mark	L5
	var	8
	pnull
	var	3
	line	80
	colm	14
	synt	any
	field	to_string
	line	80
	colm	24
	synt	any
	invoke	0
	line	80
	colm	9
	synt	any
	invoke	1
	unmark
lab L5
	mark	L6
	line	81
	colm	4
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	1
	line	81
	colm	15
	synt	any
	bang
	line	81
	colm	12
	synt	any
	asgn
	pop
	mark0
	mark	L9
	pnull
	var	5
	var	9
	var	4
	line	82
	colm	19
	synt	any
	invoke	1
	line	82
	colm	9
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	var	10
	var	3
	var	5
	line	83
	colm	15
	synt	any
	invoke	2
	line	83
	colm	24
	synt	any
	esusp
	goto	L11
lab L10
	var	7
	str	1
	var	4
	line	83
	colm	30
	synt	any
	invoke	2
lab L11
	unmark
lab L7
	efail
lab L8
	line	81
	colm	4
	synt	endevery
	unmark
lab L6
	mark	L12
	line	86
	colm	4
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	2
	line	86
	colm	15
	synt	any
	bang
	line	86
	colm	12
	synt	any
	asgn
	pop
	mark0
	mark	L15
	pnull
	var	5
	var	9
	var	4
	line	87
	colm	19
	synt	any
	invoke	1
	line	87
	colm	9
	synt	any
	asgn
	unmark
lab L15
	line	88
	colm	7
	synt	if
	mark0
	var	10
	var	3
	var	5
	line	88
	colm	18
	synt	any
	invoke	2
	unmark
	var	7
	str	2
	var	4
	line	89
	colm	14
	synt	any
	invoke	2
	line	88
	colm	7
	synt	endif
	unmark
lab L13
	efail
lab L14
	line	86
	colm	4
	synt	endevery
	unmark
lab L12
	mark	L16
	var	8
	str	3
	line	92
	colm	9
	synt	any
	invoke	1
	unmark
lab L16
	pnull
	line	93
	colm	1
	synt	any
	pfail
	end
proc convert
	local	0,001000,s
	local	1,000020,res
	local	2,000000,put
	declend
	line	96
	colm	12
	synt	any
	mark	L1
	pnull
	var	1
	pnull
	line	98
	colm	11
	synt	any
	llist	0
	line	98
	colm	8
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	99
	colm	4
	synt	every
	mark0
	var	2
	var	1
	pnull
	var	0
	line	99
	colm	19
	synt	any
	bang
	line	99
	colm	13
	synt	any
	invoke	2
	pop
lab L3
	efail
lab L4
	line	99
	colm	4
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	100
	colm	4
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	101
	colm	2
	synt	any
	pfail
	end
