I think you right, there is something wrong in the linkage.
Well, I am in the beginning of using Bison, so what I do is pretty basic. I
have indeed included properly the file, because when I create an instance of
my class(lets say variable.h), it throw me an error. When I only declare a
pointer t
I am a newbie in bison, so I don't know all the secrets. I used for a while a
standard example with its own data type and now I want to include my own. I
included the header file, but the compiler throws me an exception for
undefined reference. However, this is not true, the implementation of the
Finally, it was somthing really easy and stupid and had nothing to dowith
bison. I just was worred, because I don't know how much compatible C and C++
code can be.
Thanks for the help anyway :)
Vukki Starborn wrote:
>
> 2008/11/24 sgaurelius <[EMAIL PROTECTED]>
>
>
Hi!
Let's say I have the rule
paren:
'(' expression ')'
{
}
Flex scanner has previously analyzed the string and extracted the tokens.
However, if I want the text that corresponds to this expression, for example
the "(1+2)" and not just
same thing, i have to make it from the start. I will try to do it just with
bison, but if it gets too complicated, I might use my old function to find
dimensions and then do whatever I want with bison.
Stratis
Laurence Finston wrote:
>
>
> On Fri, 28 Nov 2008, sgaurelius wrote:
&
is is of some help.
>
> Laurence
>
>>
>> Basically, I want to derive information from it. For example, if I got a
>> matrix like [[1,2],[3,4]], I want to find the dimensions of it. The thing
>> is, taht I had already a pretty good function for doing this, when I
ne in the same way, without
>>> actually having ever implemented this myself. I've got variables with
>>> multiple dimensions, where the brackets don't have to all be together,
>>> in the GNU 3DLDF language (based on Knuth's METAFONT language),
>
Hi,
if I want to define, exactly what messages or actions bison should do when
an error occurs, what should I do. From what I 've searched, either I can do
1) what is says in
http://www.slac.stanford.edu/comp/unix/gnu-info/bison_9.html
or
2) what is says in
http://www.ibm.com/developerworks/linu
gt; On 12 Dec 2008, at 00:39, sgaurelius wrote:
>
>> if I want to define, exactly what messages or actions bison should
>> do when
>> an error occurs, what should I do. From what I 've searched, either
>> I can do
>>
>> 1) what is says in
>> http