From bdaccdff8be02ccd713e2039269ccfd04095a6b8 Mon Sep 17 00:00:00 2001 From: axelcl Date: Wed, 15 Dec 2004 19:35:24 +0000 Subject: [PATCH] fixed bug: ''single quoted strings'' not included in identifeir index --- .../phpeclipse/builder/IdentifierIndexManager.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/IdentifierIndexManager.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/IdentifierIndexManager.java index e3bfcda..2769154 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/IdentifierIndexManager.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/IdentifierIndexManager.java @@ -195,6 +195,10 @@ public class IdentifierIndexManager { ident = fScanner.getCurrentStringLiteralSource(); addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength); getNextToken(); + } else if (fToken == TokenNameStringSingleQuote) { + ident = fScanner.getCurrentStringLiteralSource(); + addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength); + getNextToken(); } } } @@ -295,7 +299,11 @@ public class IdentifierIndexManager { ident = fScanner.getCurrentStringLiteralSource(); addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength); getNextToken(); - } + } else if (fToken == TokenNameStringSingleQuote) { + ident = fScanner.getCurrentStringLiteralSource(); + addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength); + getNextToken(); + } } } } else { -- 1.7.1