morten      01/09/19 09:29:37

  Modified:    java/src/org/apache/xalan/xsltc/compiler VariableRef.java
  Log:
  Forgot to add this file with my fix for bug 1430.
  PR:           bugzilla 1430
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.9       +9 -1      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/VariableRef.java
  
  Index: VariableRef.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/VariableRef.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- VariableRef.java  2001/09/17 08:20:54     1.8
  +++ VariableRef.java  2001/09/19 16:29:36     1.9
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: VariableRef.java,v 1.8 2001/09/17 08:20:54 morten Exp $
  + * @(#)$Id: VariableRef.java,v 1.9 2001/09/19 16:29:36 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -135,5 +135,13 @@
            }
            il.append(new GETFIELD(cpg.addFieldref(className,name,signature)));
        }
  +
  +     if (_variable.getType() instanceof NodeSetType) {
  +         final int reset = cpg.addInterfaceMethodref(NODE_ITERATOR,
  +                                                     "reset",
  +                                                     "()"+NODE_ITERATOR_SIG);
  +         il.append(new INVOKEINTERFACE(reset,1));        
  +     }
  +
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to