From: Jérôme Benoit Date: Tue, 13 Feb 2018 14:15:33 +0000 (+0100) Subject: Add .cquery file for LS. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a20d3e7405deb4b0565e41968ff2047f4e9e37af;p=TP_AL_C.git Add .cquery file for LS. Signed-off-by: Jérôme Benoit --- 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'Ô' || \