xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler VariableRef.java
Date Wed, 19 Sep 2001 16:29:37 GMT
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:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message