bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help


From: hqzkaoyan
Subject: Help
Date: Sun, 8 Feb 2015 16:39:05 +0800 (CST)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]