aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCPP.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-04 13:35:59 +0000
committernyamatongwe <unknown>2000-04-04 13:35:59 +0000
commit416476290c88d15ac7297989f77fac50f5c9fcef (patch)
tree3dced34d6c9f802d7e075554cea761616ce69c8b /src/LexCPP.cxx
parent42799425f8c02442df8b1af1a024a3fe8fa6e93f (diff)
downloadscintilla-mirror-416476290c88d15ac7297989f77fac50f5c9fcef.tar.gz
Avoid lots of warnings from Borland C++.
Changed name of interface class defined in Accessor.h to Accessor.
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r--src/LexCPP.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx
index d3c00164f..144648e35 100644
--- a/src/LexCPP.cxx
+++ b/src/LexCPP.cxx
@@ -17,7 +17,7 @@
#include "Scintilla.h"
#include "SciLexer.h"
-static bool classifyWordCpp(unsigned int start, unsigned int end, WordList &keywords, BufferAccess &styler) {
+static bool classifyWordCpp(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) {
char s[100];
bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.');
bool wordIsUUID = false;
@@ -39,7 +39,7 @@ static bool classifyWordCpp(unsigned int start, unsigned int end, WordList &keyw
}
static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[],
- BufferAccess &styler) {
+ Accessor &styler) {
WordList &keywords = *keywordlists[0];