Subversion Repositories Kolibri OS

Rev

Rev 7752 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7752 Rev 7756
Line 1... Line 1...
1
struct _tag
1
struct _tag
2
{
2
{
3
	char name[32];
3
	char name[32];
-
 
4
	char prior[32];
4
	char params[5000];
5
	char params[5000];
5
	bool opened;
6
	bool opened;
6
	collection attributes;
7
	collection attributes;
7
	collection values;
8
	collection values;
8
	bool is();
9
	bool is();
Line 23... Line 24...
23
 
24
 
Line 24... Line 25...
24
bool _tag::reset()
25
bool _tag::reset()
25
{
26
{
26
	if (!name) return false;
27
	if (!name) return false;
-
 
28
	strcpy(#prior, #name);
27
	name = NULL;
29
	name = NULL;
28
	opened = true;
30
	opened = true;
29
	attributes.drop();
31
	attributes.drop();
30
	values.drop();
32
	values.drop();
31
	attributes.add("ZERO");
-
 
32
	values.add("NULL");
-
 
33
	return true;
33
	return true;
34
}
34
}
Line 35... Line 35...
35
 
35
 
36
bool _tag::parse_params()
36
bool _tag::parse_params()