diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-25 11:18:25 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-25 11:18:25 +1000 |
commit | 57d8b220e6fb11a6070ffc81948eb5d53ec51c9b (patch) | |
tree | 24b4fec41c6baedef1360116f946eb2123b01452 /lexers/LexSML.cxx | |
parent | a230b72625317dd9235d92fd92c802a91842f0c6 (diff) | |
download | scintilla-mirror-57d8b220e6fb11a6070ffc81948eb5d53ec51c9b.tar.gz |
Avoiding comma operator warnings from Clang in lexers.
Diffstat (limited to 'lexers/LexSML.cxx')
-rw-r--r-- | lexers/LexSML.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lexers/LexSML.cxx b/lexers/LexSML.cxx index 1cb00f91d..ed67300d2 100644 --- a/lexers/LexSML.cxx +++ b/lexers/LexSML.cxx @@ -24,6 +24,10 @@ #include "CharacterSet.h" #include "LexerModule.h" +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wcomma" +#endif + inline int issml(int c) {return isalnum(c) || c == '_';} inline int issmlf(int c) {return isalpha(c) || c == '_';} inline int issmld(int c) {return isdigit(c) || c == '_';} |