aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexModula.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-05-08 18:50:12 +1000
committernyamatongwe <unknown>2013-05-08 18:50:12 +1000
commit2ab494b49811d760154a2640416a2cab5708b8c0 (patch)
tree37d9d45da8efd75ae1e688dc217568fe06f1b670 /lexers/LexModula.cxx
parentfb9f49fcaf224a3df72a85ffd37072f0cd282769 (diff)
downloadscintilla-mirror-2ab494b49811d760154a2640416a2cab5708b8c0.tar.gz
Hide implementation of WordList.
Diffstat (limited to 'lexers/LexModula.cxx')
-rw-r--r--lexers/LexModula.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lexers/LexModula.cxx b/lexers/LexModula.cxx
index cc5847fd6..ed615609c 100644
--- a/lexers/LexModula.cxx
+++ b/lexers/LexModula.cxx
@@ -63,16 +63,16 @@ static inline unsigned IsOperator( StyleContext & sc, WordList & op ) {
s[0] = sc.ch;
s[1] = sc.chNext;
s[2] = 0;
- for( i = 0; i < op.len; i++ ) {
- if( ( strlen( op.words[i] ) == 2 ) &&
- ( s[0] == op.words[i][0] && s[1] == op.words[i][1] ) ) {
+ for( i = 0; i < op.Length(); i++ ) {
+ if( ( strlen( op.WordAt(i) ) == 2 ) &&
+ ( s[0] == op.WordAt(i)[0] && s[1] == op.WordAt(i)[1] ) ) {
return 2;
}
}
s[1] = 0;
- for( i = 0; i < op.len; i++ ) {
- if( ( strlen( op.words[i] ) == 1 ) &&
- ( s[0] == op.words[i][0] ) ) {
+ for( i = 0; i < op.Length(); i++ ) {
+ if( ( strlen( op.WordAt(i) ) == 1 ) &&
+ ( s[0] == op.WordAt(i)[0] ) ) {
return 1;
}
}