aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-01-14 11:54:55 +0000
committernyamatongwe <unknown>2002-01-14 11:54:55 +0000
commit0d3b13c0720abfc2eaff8de89cba4364f6a65660 (patch)
tree61631ab3f0273c72dd2719e0b50ee60ab447afd9 /src/LexHTML.cxx
parent6070510b893e3bc1169c71ed79f51345ee6803c1 (diff)
downloadscintilla-mirror-0d3b13c0720abfc2eaff8de89cba4364f6a65660.tar.gz
Made buffer for PHP keywords larger as some of the predefined functions
have long names.
Diffstat (limited to 'src/LexHTML.cxx')
-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';