From 0755fa3c10ea617849d0721452cd8437aad58214 Mon Sep 17 00:00:00 2001 From: kpouer Date: Sun, 11 May 2003 22:58:16 +0000 Subject: [PATCH] *** empty log message *** --- .../compiler/ast/ArrayVariableDeclaration.java | 2 +- net.sourceforge.phpeclipse/src/test/PHPParser.java | 2 +- net.sourceforge.phpeclipse/src/test/PHPParser.jj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayVariableDeclaration.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayVariableDeclaration.java index 14413e5..38d3527 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayVariableDeclaration.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayVariableDeclaration.java @@ -2,7 +2,7 @@ package net.sourceforge.phpdt.internal.compiler.ast; /** * This variable declaration do not extend AbstractVariableDeclaration because - * it could take Expression as key + * it could take Expression as key. * @author Matthieu Casanova */ public class ArrayVariableDeclaration extends Expression { diff --git a/net.sourceforge.phpeclipse/src/test/PHPParser.java b/net.sourceforge.phpeclipse/src/test/PHPParser.java index b0edb74..18848d5 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParser.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParser.java @@ -2807,7 +2807,7 @@ ArgumentDeclaration argument; errorEnd = jj_input_stream.getPosition(); {if (true) throw e;} } - nbNodes = nodePtr-startIndex; + nbNodes = nodePtr-startIndex - 1; blockNodes = new AstNode[nbNodes]; System.arraycopy(nodes,startIndex,blockNodes,0,nbNodes); {if (true) return new HTMLBlock(nodes);} diff --git a/net.sourceforge.phpeclipse/src/test/PHPParser.jj b/net.sourceforge.phpeclipse/src/test/PHPParser.jj index 23b070d..0eb3056 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParser.jj +++ b/net.sourceforge.phpeclipse/src/test/PHPParser.jj @@ -1965,7 +1965,7 @@ HTMLBlock htmlBlock() : throw e; } { - nbNodes = nodePtr-startIndex; + nbNodes = nodePtr-startIndex - 1; blockNodes = new AstNode[nbNodes]; System.arraycopy(nodes,startIndex,blockNodes,0,nbNodes); return new HTMLBlock(nodes);} -- 1.7.1