fix build under newer KConfig by bump cmake min version

This commit is contained in:
2024-09-04 19:01:58 +08:00
parent 727a2ec214
commit 9fb3681e3a
1022 changed files with 4414 additions and 1375 deletions

View File

@ -0,0 +1,49 @@
(* Enumerate all styles: 0 to 15 *)
(* comment=12 *)
(* whitespace=0 *)
(* w *)
(* identifier=1 *)
ident
(* tagname=2 *)
`ident
(* keyword=3 *)
and
(* keyword2=4 *)
None
(* keyword3=5 *)
char
(* linenum=6 *)
#12
(* operator=7 *)
*
(* number=8 *)
12
(* char=9 *)
'a'
(* white=10 *)
(* this state can not be reached in caml mode, only SML mode but that stops other states *)
(* SML mode is triggered by "andalso" being in the keywords *)
"\ \x"
(* string=11 *)
"string"
(* comment1=13 *)
(* (* comment 1 *) *)
(* comment2=14 *)
(* (* (* comment 2 *) *) *)
(* comment3=15 *)
(* (* (* (* comment 1 *) *) *) *)

View File

@ -0,0 +1,50 @@
0 400 0 (* Enumerate all styles: 0 to 15 *)
0 400 0 (* comment=12 *)
0 400 0
0 400 0 (* whitespace=0 *)
0 400 0 (* w *)
0 400 0
0 400 0 (* identifier=1 *)
0 400 0 ident
0 400 0
0 400 0 (* tagname=2 *)
0 400 0 `ident
0 400 0
0 400 0 (* keyword=3 *)
0 400 0 and
0 400 0
0 400 0 (* keyword2=4 *)
0 400 0 None
0 400 0
0 400 0 (* keyword3=5 *)
0 400 0 char
0 400 0
0 400 0 (* linenum=6 *)
0 400 0 #12
0 400 0
0 400 0 (* operator=7 *)
0 400 0 *
0 400 0
0 400 0 (* number=8 *)
0 400 0 12
0 400 0
0 400 0 (* char=9 *)
0 400 0 'a'
0 400 0
0 400 0 (* white=10 *)
0 400 0 (* this state can not be reached in caml mode, only SML mode but that stops other states *)
0 400 0 (* SML mode is triggered by "andalso" being in the keywords *)
0 400 0 "\ \x"
0 400 0
0 400 0 (* string=11 *)
0 400 0 "string"
0 400 0
0 400 0 (* comment1=13 *)
0 400 0 (* (* comment 1 *) *)
0 400 0
0 400 0 (* comment2=14 *)
0 400 0 (* (* (* comment 2 *) *) *)
0 400 0
0 400 0 (* comment3=15 *)
0 400 0 (* (* (* (* comment 1 *) *) *) *)
0 400 0

View File

@ -0,0 +1,49 @@
{12}(* Enumerate all styles: 0 to 15 *){0}
{12}(* comment=12 *){0}
{12}(* whitespace=0 *){0}
{12}(* w *){0}
{12}(* identifier=1 *){0}
{1}ident{0}
{12}(* tagname=2 *){0}
{2}`ident{0}
{12}(* keyword=3 *){0}
{3}and{0}
{12}(* keyword2=4 *){0}
{4}None{0}
{12}(* keyword3=5 *){0}
{5}char{0}
{12}(* linenum=6 *){0}
{6}#12{0}
{12}(* operator=7 *){0}
{7}*{0}
{12}(* number=8 *){0}
{8}12{0}
{12}(* char=9 *){0}
{9}'a'{0}
{12}(* white=10 *){0}
{12}(* this state can not be reached in caml mode, only SML mode but that stops other states *){0}
{12}(* SML mode is triggered by "andalso" being in the keywords *){0}
{11}"\ \x"{0}
{12}(* string=11 *){0}
{11}"string"{0}
{12}(* comment1=13 *){0}
{12}(* {13}(* comment 1 *){12} *){0}
{12}(* comment2=14 *){0}
{12}(* {13}(* {14}(* comment 2 *){13} *){12} *){0}
{12}(* comment3=15 *){0}
{12}(* {13}(* {14}(* {15}(* comment 1 *){14} *){13} *){12} *){0}

View File

@ -0,0 +1,4 @@
lexer.*.ml=caml
keywords.*.ml=and xandalso
keywords2.*.ml=None
keywords3.*.ml=char