From 2d3f2f707a4c4faf5255f3ae13634a82cef8c581 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 20 Jul 2015 10:04:16 +1000 Subject: Use Sci_Position when required to implement interfaces. --- lexlib/LexerBase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexlib/LexerBase.cxx') diff --git a/lexlib/LexerBase.cxx b/lexlib/LexerBase.cxx index bbef3f159..d887b3c6c 100644 --- a/lexlib/LexerBase.cxx +++ b/lexlib/LexerBase.cxx @@ -61,7 +61,7 @@ const char * SCI_METHOD LexerBase::DescribeProperty(const char *) { return ""; } -int SCI_METHOD LexerBase::PropertySet(const char *key, const char *val) { +Sci_Position SCI_METHOD LexerBase::PropertySet(const char *key, const char *val) { const char *valOld = props.Get(key); if (strcmp(val, valOld) != 0) { props.Set(key, val); @@ -75,7 +75,7 @@ const char * SCI_METHOD LexerBase::DescribeWordListSets() { return ""; } -int SCI_METHOD LexerBase::WordListSet(int n, const char *wl) { +Sci_Position SCI_METHOD LexerBase::WordListSet(int n, const char *wl) { if (n < numWordLists) { WordList wlNew; wlNew.Set(wl); -- cgit v1.2.3