Hello,
I am a student from China and my study on CS has several years. My name is 
Qizhi Hu. Recently, when I use bison, there are some problems I can't 
understand. For example:
a:b is a rule and both are pointer of int. when parsing, the following will not 
work.
a:b
{
    assert($$==NULL);
}
;
But, when the rule become a: b c or a: b c d, all symbols are type of int* 
,then following will work well.
a: b c
{
    assert($$==NULL);
}
;
Can you help me ?
 Best,
Qizhi Hu

Attachment: a
Description: Binary data


Attachment: a.l
Description: Binary data

Attachment: a.y
Description: Binary data

Attachment: Makefile
Description: Binary data

  • help Aravind Thangavel
    • Re: help Tim Landscheidt
    • Help hqzkaoyan

Reply via email to