private void parseDeclarations(StringBuffer buf, boolean goBack) {
char[] ident;
+ char[] classVariable;
int counter = 0;
int phpdocOffset = -1;
int phpdocLength = -1;
getNextToken();
if (fToken == TokenNameVariable) {
ident = fScanner.getCurrentIdentifierSource();
- addIdentifierInformation('v', ident, buf, phpdocOffset, phpdocLength);
+ classVariable = new char[ident.length-1];
+ System.arraycopy(ident, 1, classVariable, 0, ident.length-1);
+ addIdentifierInformation('v', classVariable, buf, phpdocOffset, phpdocLength);
getNextToken();
}
} else if (fToken == TokenNamefunction) {