|
From: | Daniel Rentz |
Subject: | Re: $4 of 'smthing' has no declared type---pls help |
Date: | Wed, 23 Dec 2009 11:10:59 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
sdatta schrieb:
Hi, I m new to bison programming. I m getting the following error: cpp1.y:34.39-40: $4 of `ctrlln' has no declared type. I dont understand why this is occuring!
The embedded actions are counted too, so "$4" refers to "ID". I think you want to refer to "replst" which is represented by "$6".
See http://www.gnu.org/software/bison/manual/html_node/Mid_002dRule-Actions.html#Mid_002dRule-Actions for more details.
Regards Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |