#275: In maint mode, IMCC does not build with bison 2.4.x
----------------------+-----------------------------------------------------
 Reporter:  Infinoid  |       Owner:     
     Type:  bug       |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  none      |     Version:     
 Severity:  medium    |    Keywords:     
     Lang:            |       Patch:     
 Platform:            |  
----------------------+-----------------------------------------------------
 Generating sources from imcc.y with bison 2.3 results in:

 {{{
 bison -v -y compilers/imcc/imcc.y -d -o compilers/imcc/imcparser.c
 compilers/imcc/imcc.y:1315.6-1344.78: warning: unused value: $3
 compilers/imcc/imcc.y:1774.6-1782.10: warning: unused value: $2
 compilers/imcc/imcc.y:1827.6-1833.43: warning: unused value: $2
 conflicts: 1 shift/reduce
 }}}

 However, building with bison 2.4.1 results in:

 {{{
 bison -v -y compilers/imcc/imcc.y -d -o compilers/imcc/imcparser.c
 compilers/imcc/imcc.y:1829.12-13: $$ for the midrule at $2 of
 `get_results' has no declared type
 compilers/imcc/imcc.y:1830.12-13: $$ for the midrule at $2 of
 `get_results' has no declared type
 compilers/imcc/imcc.y:1831.12-13: $$ for the midrule at $2 of
 `get_results' has no declared type
 compilers/imcc/imcc.y:1910.12-13: $$ for the midrule at $2 of `sub_call'
 has no declared type
 make: *** [compilers/imcc/imcparser.c] Error 1
 }}}

 (If it matters, both tests were done with flex 2.5.35.)

 Can IMCC be adapted to work with the newer bison?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/275>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to