diff --git a/common/Version b/common/Version index 3bcab749d..a4948d81a 100644 --- a/common/Version +++ b/common/Version @@ -1 +1 @@ -2.7.0~beta1 +2.7.0~beta2 diff --git a/parser/Makefile b/parser/Makefile index f64207d87..a98fba898 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -49,7 +49,7 @@ ifndef CFLAGS CFLAGS = -g -O2 -pipe ifdef DEBUG -CFLAGS += -pg +CFLAGS += -pg -D DEBUG endif endif #CFLAGS diff --git a/parser/parser_yacc.y b/parser/parser_yacc.y index 05e6c17fe..78e923019 100644 --- a/parser/parser_yacc.y +++ b/parser/parser_yacc.y @@ -240,7 +240,7 @@ profile_base: TOK_ID opt_id flags TOK_OPEN rules TOK_CLOSE post_process_nt_entries(cod); PDEBUG("%s: flags='%s%s'\n", - $3, + $2, cod->flags.complain ? "complain, " : "", cod->flags.audit ? "audit" : ""); @@ -280,7 +280,7 @@ hat: hat_start profile_base { struct codomain *cod = $2; if ($2) - PDEBUG("Matched: hat %s { ... }\n", code->name); + PDEBUG("Matched: hat %s { ... }\n", cod->name); cod->flags.hat = 1; $$ = cod; @@ -384,7 +384,7 @@ valuelist: valuelist TOK_VALUE struct value_list *new = calloc(1, sizeof(struct value_list)); if (!new) yyerror(_("Memory allocation error.")); - PDEBUG("Matched: value (%s)\n", $1); + PDEBUG("Matched: value list\n"); new->value = $2; new->next = $1;