diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-10-28 11:57:05 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-10-28 11:57:05 +1100 | 
| commit | fb92fa39bf312db47cc7df676337ff45d6b89c16 (patch) | |
| tree | 9107bf99921c2146f043578b8297ac5f23286766 | |
| parent | 286d86105b30fe7fba849af81ac9ea1daf8a54f8 (diff) | |
| download | scintilla-mirror-fb92fa39bf312db47cc7df676337ff45d6b89c16.tar.gz | |
Allow single quote digit separators for C++14.
| -rw-r--r-- | lexers/LexCPP.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 1d8d6e1de..c1765f6f3 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -636,6 +636,7 @@ void SCI_METHOD LexerCPP::Lex(unsigned int startPos, int length, int initStyle,  				if (sc.ch == '_') {  					sc.ChangeState(SCE_C_USERLITERAL|activitySet);  				} else if (!(setWord.Contains(sc.ch) +				   || (sc.ch == '\'')  				   || ((sc.ch == '+' || sc.ch == '-') && (sc.chPrev == 'e' || sc.chPrev == 'E' ||  				                                          sc.chPrev == 'p' || sc.chPrev == 'P')))) {  					sc.SetState(SCE_C_DEFAULT|activitySet); | 
