V Fri, 7 Dec 2012 08:54:34 -0500 (EST)
Dave Anderson <[email protected]> napsáno:
>
>
> Hi Luc,
>
> While you're in the clean-up mode, is there a quick fix
> you can make for these bison warnings?:
Like with the attached patch?
Petr Tesarik
diff --git a/libeppic/eppic.y b/libeppic/eppic.y
index d3fa796..d005190 100644
--- a/libeppic/eppic.y
+++ b/libeppic/eppic.y
@@ -175,8 +175,8 @@ stmtlist:
;
stmtgroup:
- '{' {PUSHV} decl_list stmtlist {POPV} '}' { $$ = eppic_stat_decl($4, $3); }
- | '{' {PUSHV} stmtlist {POPV} '}' { $$ = eppic_stat_decl($3, 0); }
+ '{' {PUSHV;} decl_list stmtlist {POPV;} '}' { $$ = eppic_stat_decl($4, $3); }
+ | '{' {PUSHV;} stmtlist {POPV;} '}' { $$ = eppic_stat_decl($3, 0); }
;
expstmt:
--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility