[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: cgram.y returning nodes of incorrect types
From:       Gregory McGarry <greg () bitlynx ! com>
Date:       2008-07-28 14:31:04
Message-ID: 3A564B1D-9BC2-4074-ADE0-4E62EBAF4F7F () bitlynx ! com
[Download RAW message or body]


On 29/07/2008, at 12:21 AM, Anders Magnusson wrote:

> Gregory McGarry wrote:
>> Otherwise the grammar doesn't compile with bison on OS X 10.4
>>
>>
>> Index: cgram.y
>> ===================================================================
>> RCS file: /cvsroot/pcc/cc/ccom/cgram.y,v
>> retrieving revision 1.212
>> diff -u -r1.212 cgram.y
>> --- cgram.y     28 Jul 2008 11:30:28 -0000      1.212
>> +++ cgram.y     28 Jul 2008 14:09:49 -0000
>> @@ -204,7 +204,7 @@
>>                 parameter_type_list parameter_list addrlbl
>>                 declaration_specifiers pointer  
>> direct_abstract_declarator
>>                 specifier_qualifier_list merge_specifiers nocon_e
>> -               identifier_list arg_param_list arg_declaration  
>> arg_dcl_list
>> +               identifier_list arg_param_list
>>                 designator_list designator xasm oplist oper cnstr  
>> funtype
>>  %type <strp>   string C_STRING
>>  %type <rp>     str_head
>>
>>
> Interesting, bison 2.3 don't complain :-)  But please go ahead.

Yes, I think this was changed between bison 1 and 2.  OS X 10.4 uses  
bison 1.28.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic