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 | b8bc4d145c209b33df8a8ef47a859bd6b899341b (patch) | |
tree | d39d5ac16322f5cf66f65d4d384d0c2eb5cabb40 /lexers/LexCaml.cxx | |
parent | b7fc7c238595d50bab92a0160ebd8c45b8486977 (diff) | |
download | scintilla-mirror-b8bc4d145c209b33df8a8ef47a859bd6b899341b.tar.gz |
Backport: Avoiding comma operator warnings from Clang in lexers.
Backport of changeset 6395:1ca06526aa8e.
Diffstat (limited to 'lexers/LexCaml.cxx')
-rw-r--r-- | lexers/LexCaml.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lexers/LexCaml.cxx b/lexers/LexCaml.cxx index 038068a7b..1339b5dcc 100644 --- a/lexers/LexCaml.cxx +++ b/lexers/LexCaml.cxx @@ -37,6 +37,10 @@ #include "CharacterSet.h" #include "LexerModule.h" +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wcomma" +#endif + // Since the Microsoft __iscsym[f] funcs are not ANSI... inline int iscaml(int c) {return isalnum(c) || c == '_';} inline int iscamlf(int c) {return isalpha(c) || c == '_';} |