diff options
| author | Zufu Liu <unknown> | 2020-04-30 20:22:36 +1000 | 
|---|---|---|
| committer | Zufu Liu <unknown> | 2020-04-30 20:22:36 +1000 | 
| commit | 617bf64ac0188db167fe7779b50b32d5dc10d664 (patch) | |
| tree | a30cd291b4f0ede180a931d2efa967b1e3af52a5 | |
| parent | 3ff417bf5e9a53af3d1a037e09de5a5a8536d77c (diff) | |
| download | scintilla-mirror-617bf64ac0188db167fe7779b50b32d5dc10d664.tar.gz | |
Backport: Clean up - make local function static and remove code that has no effect.
Backport of changeset 8213:2714b74749f5.
| -rw-r--r-- | lexers/LexMMIXAL.cxx | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/lexers/LexMMIXAL.cxx b/lexers/LexMMIXAL.cxx index 49b639dd2..1e0552075 100644 --- a/lexers/LexMMIXAL.cxx +++ b/lexers/LexMMIXAL.cxx @@ -33,7 +33,7 @@ static inline bool IsAWordChar(const int ch) {  	return (ch < 0x80) && (isalnum(ch) || ch == ':' || ch == '_');  } -inline bool isMMIXALOperator(char ch) { +static inline bool isMMIXALOperator(char ch) {  	if (IsASCII(ch) && isalnum(ch))  		return false;  	if (ch == '+' || ch == '-' || ch == '|' || ch == '^' || @@ -85,8 +85,6 @@ static void ColouriseMMIXALDoc(Sci_PositionU startPos, Sci_Position length, int  		} else if (sc.state == SCE_MMIXAL_NUMBER) {		// NUMBER  			if (!isdigit(sc.ch)) {  				if (IsAWordChar(sc.ch)) { -					char s[100]; -					sc.GetCurrent(s, sizeof(s));  					sc.ChangeState(SCE_MMIXAL_REF);  					sc.SetState(SCE_MMIXAL_REF);  				} else { | 
