ec2d095bd0
http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00000.html http://lists.gnu.org/archive/html/bug-bison/2008-12/msg00000.html - Take over bison maintainership - as approved by portmgr (marcus) - Add patches for ports to compile with new bison: Replace %{ .. %} with %code { .. } where required and accommodate stricter typing requirements Thanks to pav for an exp-run on pointyhat PR: ports/131640 Approved by: portmgr (pav)
26 lines
613 B
Text
26 lines
613 B
Text
--- rec_parse.y.orig 2001-12-10 18:01:17.000000000 +0100
|
|
+++ rec_parse.y 2009-03-03 00:57:09.000000000 +0100
|
|
@@ -141,7 +141,7 @@ mode_decl : MODE STRING
|
|
| MODE STRING
|
|
{
|
|
/* Do this first so the default mode gets set correctly*/
|
|
- $$ = rec_get_mode((rec_t *) rec, $2);
|
|
+ $<rec_mode>$ = rec_get_mode((rec_t *) rec, $2);
|
|
}
|
|
':' mode_id_list
|
|
{
|
|
@@ -162,12 +162,14 @@ mode_id_list : mode_id
|
|
$$ = $1;
|
|
rec_mode_list_append(&$$, $3);
|
|
}
|
|
+ ;
|
|
|
|
mode_id : STRING
|
|
{
|
|
$$ = rec_get_mode((rec_t *) rec, $1);
|
|
free($1);
|
|
}
|
|
+ ;
|
|
|
|
gesture_list : gesture
|
|
{
|