From a20d3e7405deb4b0565e41968ff2047f4e9e37af Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 13 Feb 2018 15:15:33 +0100 Subject: [PATCH] Add .cquery file for LS. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .cquery | 3 +++ lexer/lexical_analyzer.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .cquery diff --git a/.cquery b/.cquery new file mode 100644 index 0000000..c1b918e --- /dev/null +++ b/.cquery @@ -0,0 +1,3 @@ +clang +-xc +-std=c11 diff --git a/lexer/lexical_analyzer.c b/lexer/lexical_analyzer.c index 7c85b4c..6f995ba 100644 --- a/lexer/lexical_analyzer.c +++ b/lexer/lexical_analyzer.c @@ -22,7 +22,7 @@ static bool isAlphaNum() { c == L'\''|| c == L'#' || \ c == L'0' || c == L'1' || c == L'2' || c == L'3' || c == L'4' || c == L'5' || c == L'6' || \ c == L'7' || c == L'8' || c == L'9' || \ - // FIXME: Accentued characters (aka multibytes characters) support is still buggy + //FIXME: Accentued characters (aka multibytes characters) support is still buggy c == L'à' || c == L'â' || c == L'ç' || c == L'è' || c == L'é' || c == L'î' || c == L'ô' || \ c == L'ù' || c == L'û' || \ c == L'À' || c == L'Â' || c == L'Ç' || c == L'È' || c == L'É' || c == L'Î' || c == L'Ô' || \ -- 2.34.1