/[ff3d]/ff3d/language/parse.pov.yy
ViewVC logotype

Diff of /ff3d/language/parse.pov.yy

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by delpinux, Sun Aug 31 15:13:08 2003 UTC revision 1.5 by delpinux, Tue Sep 2 16:03:20 2003 UTC
# Line 1  Line 1 
1  %{  %{ /* -*- c++ -*- */
    /* -*- c++ -*- */  
2    
3     /*     /*
4      *  This file is part of ff3d - http://www.freefem.org/ff3d      *  This file is part of ff3d - http://www.freefem.org/ff3d
# Line 629  iftok: IFDEF '(' NAME ')'  { Line 628  iftok: IFDEF '(' NAME ')'  {
628                     if ($<trans.ref>5[3] == 0) { // means the object is not transparent                     if ($<trans.ref>5[3] == 0) { // means the object is not transparent
629                       BoolOp = BoolOpStack.top(); // revert to previous context                       BoolOp = BoolOpStack.top(); // revert to previous context
630                       BoolOpStack.pop();                       BoolOpStack.pop();
631                       Difference* d = new Difference(OpStack.top()[0]); // There will be at least                       Difference* d = new Difference();
632                                                                         // One object in Union          
633                       for (size_t i=1; i<OpStack.top().size(); i++)                       for (size_t i=0; i<OpStack.top().size(); i++) {
634                         (*d).AddObject(OpStack.top()[i]);                         (*d).push_back(new Object(OpStack.top()[i]));
635                         }
636                       OpStack.pop();                       OpStack.pop();
637    
638                       parsetrans& transformations = $5;                       parsetrans& transformations = $5;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26