aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-01-14 11:54:55 +0000
committernyamatongwe <devnull@localhost>2002-01-14 11:54:55 +0000
commited7ff8459b0ea15c20460b4c051625424b88b7b6 (patch)
tree61631ab3f0273c72dd2719e0b50ee60ab447afd9
parent7d604cbdd43d33fa3f19e86fa868d8d8f9a0fc18 (diff)
downloadscintilla-mirror-ed7ff8459b0ea15c20460b4c051625424b88b7b6.tar.gz
Made buffer for PHP keywords larger as some of the predefined functions
have long names.
-rw-r--r--src/LexHTML.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index dba7646d6..59ef1ecb4 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -300,9 +300,9 @@ static void classifyWordHTPHP(unsigned int start, unsigned int end, WordList &ke
if (wordIsNumber)
chAttr = SCE_HPHP_NUMBER;
else {
- char s[30 + 1];
+ char s[100 + 1];
unsigned int i = 0;
- for (; i < end - start + 1 && i < 30; i++) {
+ for (; i < end - start + 1 && i < 100; i++) {
s[i] = static_cast<char>(tolower(styler[start + i]));
}
s[i] = '\0';