Less printouts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@868 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -37,8 +37,12 @@ file : section_list
|
|||||||
;
|
;
|
||||||
|
|
||||||
section_list : /* empty */
|
section_list : /* empty */
|
||||||
| section rel_list section_list {
|
| section rel_list section_list
|
||||||
printf("section_list\n"); }
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("section_list\n");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
section
|
section
|
||||||
@@ -54,7 +58,11 @@ section
|
|||||||
cf->sections = p;
|
cf->sections = p;
|
||||||
csec = p;
|
csec = p;
|
||||||
crel = &p->relations;
|
crel = &p->relations;
|
||||||
printf("section\n"); strcpy(section, $2); }
|
#ifdef DEBUG
|
||||||
|
printf("section\n");
|
||||||
|
#endif
|
||||||
|
strcpy(section, $2);
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
rel_list
|
rel_list
|
||||||
@@ -66,7 +74,12 @@ rel_sub : /* empty */
|
|||||||
;
|
;
|
||||||
|
|
||||||
relation
|
relation
|
||||||
: tag '=' value { printf("relation\n"); }
|
: tag '=' value
|
||||||
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("relation\n");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
tag : STRING
|
tag : STRING
|
||||||
@@ -87,7 +100,9 @@ tag : STRING
|
|||||||
p->next = *crel;
|
p->next = *crel;
|
||||||
*crel = p;
|
*crel = p;
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
printf("tag\n");
|
printf("tag\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -96,14 +111,18 @@ value : STRING
|
|||||||
(*crel)->value.type = krb5_config_value_string;
|
(*crel)->value.type = krb5_config_value_string;
|
||||||
(*crel)->value.data.string = $1;
|
(*crel)->value.data.string = $1;
|
||||||
crel = &(*crel)->next;
|
crel = &(*crel)->next;
|
||||||
printf("value/string\n");
|
#ifdef DEBUG
|
||||||
|
printf("value/string\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
| '{' rel_list '}'
|
| '{' rel_list '}'
|
||||||
{
|
{
|
||||||
crel = rels[--relp];
|
crel = rels[--relp];
|
||||||
(*crel)->value.type = krb5_config_value_list;
|
(*crel)->value.type = krb5_config_value_list;
|
||||||
crel = &(*crel)->next;
|
crel = &(*crel)->next;
|
||||||
|
#ifdef DEBUG
|
||||||
printf("value/list\n");
|
printf("value/list\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@@ -37,8 +37,12 @@ file : section_list
|
|||||||
;
|
;
|
||||||
|
|
||||||
section_list : /* empty */
|
section_list : /* empty */
|
||||||
| section rel_list section_list {
|
| section rel_list section_list
|
||||||
printf("section_list\n"); }
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("section_list\n");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
section
|
section
|
||||||
@@ -54,7 +58,11 @@ section
|
|||||||
cf->sections = p;
|
cf->sections = p;
|
||||||
csec = p;
|
csec = p;
|
||||||
crel = &p->relations;
|
crel = &p->relations;
|
||||||
printf("section\n"); strcpy(section, $2); }
|
#ifdef DEBUG
|
||||||
|
printf("section\n");
|
||||||
|
#endif
|
||||||
|
strcpy(section, $2);
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
rel_list
|
rel_list
|
||||||
@@ -66,7 +74,12 @@ rel_sub : /* empty */
|
|||||||
;
|
;
|
||||||
|
|
||||||
relation
|
relation
|
||||||
: tag '=' value { printf("relation\n"); }
|
: tag '=' value
|
||||||
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("relation\n");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
tag : STRING
|
tag : STRING
|
||||||
@@ -87,7 +100,9 @@ tag : STRING
|
|||||||
p->next = *crel;
|
p->next = *crel;
|
||||||
*crel = p;
|
*crel = p;
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
printf("tag\n");
|
printf("tag\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -96,14 +111,18 @@ value : STRING
|
|||||||
(*crel)->value.type = krb5_config_value_string;
|
(*crel)->value.type = krb5_config_value_string;
|
||||||
(*crel)->value.data.string = $1;
|
(*crel)->value.data.string = $1;
|
||||||
crel = &(*crel)->next;
|
crel = &(*crel)->next;
|
||||||
printf("value/string\n");
|
#ifdef DEBUG
|
||||||
|
printf("value/string\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
| '{' rel_list '}'
|
| '{' rel_list '}'
|
||||||
{
|
{
|
||||||
crel = rels[--relp];
|
crel = rels[--relp];
|
||||||
(*crel)->value.type = krb5_config_value_list;
|
(*crel)->value.type = krb5_config_value_list;
|
||||||
crel = &(*crel)->next;
|
crel = &(*crel)->next;
|
||||||
|
#ifdef DEBUG
|
||||||
printf("value/list\n");
|
printf("value/list\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user