> An i386 package won't run on my system, and building from sources will
> fail. These are the last lines:
> 
> bison -y -d parser.y
> parser.y:331.41-42: $$ for the midrule at $3 of `node' has no declared type
> parser.y:332.54-55: $$ for the midrule at $3 of `node' has no declared type
> parser.y:334.63-64: $$ for the midrule at $3 of `node' has no declared type
> parser.y:335.60-61: $$ for the midrule at $3 of `node' has no declared type
> parser.y:338.67-68: $$ for the midrule at $3 of `node' has no declared type
> parser.y:345.41-42: $$ for the midrule at $3 of `node' has no declared type
> parser.y:346.59-60: $$ for the midrule at $3 of `node' has no declared type
> parser.y:347.56-57: $$ for the midrule at $3 of `node' has no declared type
> parser.y:350.56-57: $$ for the midrule at $3 of `node' has no declared type
> make: *** [parser.cpp] Error 1

The bison 3.4.1 compatibility problem was solve in white_dune-0.29beta1391.
For version white_dune-0.28pl14, change the following lines (from line 290)
in white_dune-0.28pl14/src/parser.y

node:
          nodeType WING_BRACKET_ON  {
                                    $$ = newNode(SYMB($1));
                                    addCommentsToNode($$);
                                    nodeStack.push($$);
                                    if (defName != -1)
                                       {
                                       scene->def(uniqName(SYMB(defName)), $$);
                                       defName = -1;
                                       }
                                    }   
          nodeBody WING_BRACKET_OFF { $$ = nodeStack.pop(); }
        | SCRIPT WING_BRACKET_ON    {
                                    $$ = new NodeScript(scene);
                                    addCommentsToNode($$);
                                    nodeStack.push($$);
                                    if (defName != -1)
                                       {
                                       scene->def(uniqName(SYMB(defName)), $$);
                                       defName = -1;
                                       }
                                    }


to the following:

node:
          nodeType WING_BRACKET_ON  {
                                    $<node>$ = newNode(SYMB($1));
                                    addCommentsToNode($<node>$);
                                    nodeStack.push($<node>$);
                                    if (defName != -1)
                                       {
                                       scene->def(uniqName(SYMB(defName)), 
                                                  $<node>$);
                                       defName = -1;
                                       }
                                    }   
          nodeBody WING_BRACKET_OFF { $$ = nodeStack.pop(); }
        | SCRIPT WING_BRACKET_ON    {
                                    $<node>$ = new NodeScript(scene);
                                    addCommentsToNode($<node>$);
                                    nodeStack.push($<node>$);
                                    if (defName != -1)
                                       {
                                       scene->def(uniqName(SYMB(defName)), 
                                                  $<node>$);
                                       defName = -1;
                                       }
                                    }   


Basicly exhange $$ with $<node>$

so long
MUFTI
-- 
Heute eroeffnet uns das Internet ganz neue Informationskontrolle
... aeh -kanaele
      Wolfgang Schaeuble     3. Berliner Medienrunde, 24.11.08



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to