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,52 @@
; Enumerate all styles: 0 to 15 except for 11(comment block) which is not yet implemented.
; This is not a viable source file, it just illustrates the different states in isolation.
; comment=1
; Comment
; whitespace=0
; w
; number=2
11
; string=3
"String"
; operator=4
+
; identifier=5
identifier
; CPU instruction=6
add
; math Instruction=7
fadd
; register=8
ECX
; directive=9
section
; directive operand=10
rel
; comment block=11 is for future expansion
; character=12
'character'
; string EOL=13
"no line end
; extended instruction=14
movq
; comment directive=15
comment ~ A multiple-line
comment directive~
;end

View File

@ -0,0 +1,53 @@
0 400 0 ; Enumerate all styles: 0 to 15 except for 11(comment block) which is not yet implemented.
0 400 0 ; This is not a viable source file, it just illustrates the different states in isolation.
0 400 0
0 400 0 ; comment=1
0 400 0 ; Comment
0 400 0
0 400 0 ; whitespace=0
0 400 0 ; w
0 400 0
0 400 0 ; number=2
0 400 0 11
0 400 0
0 400 0 ; string=3
0 400 0 "String"
0 400 0
0 400 0 ; operator=4
0 400 0 +
0 400 0
0 400 0 ; identifier=5
0 400 0 identifier
0 400 0
0 400 0 ; CPU instruction=6
0 400 0 add
0 400 0
0 400 0 ; math Instruction=7
0 400 0 fadd
0 400 0
0 400 0 ; register=8
0 400 0 ECX
0 400 0
0 400 0 ; directive=9
0 400 0 section
0 400 0
0 400 0 ; directive operand=10
0 400 0 rel
0 400 0
0 400 0 ; comment block=11 is for future expansion
0 400 0
0 400 0 ; character=12
0 400 0 'character'
0 400 0
0 400 0 ; string EOL=13
0 400 0 "no line end
0 400 0
0 400 0 ; extended instruction=14
0 400 0 movq
0 400 0
0 400 0 ; comment directive=15
0 400 0 comment ~ A multiple-line
0 400 0 comment directive~
0 400 0
0 400 0 ;end
0 400 0

View File

@ -0,0 +1,52 @@
{1}; Enumerate all styles: 0 to 15 except for 11(comment block) which is not yet implemented.
; This is not a viable source file, it just illustrates the different states in isolation.
{0}
{1}; comment=1
; Comment
{0}
{1}; whitespace=0
{0} {1}; w
{0}
{1}; number=2
{2}11{0}
{1}; string=3
{3}"String"{0}
{1}; operator=4
{4}+{0}
{1}; identifier=5
{5}identifier{0}
{1}; CPU instruction=6
{6}add{0}
{1}; math Instruction=7
{7}fadd{0}
{1}; register=8
{8}ECX{0}
{1}; directive=9
{9}section{0}
{1}; directive operand=10
{10}rel{0}
{1}; comment block=11 is for future expansion
{0}
{1}; character=12
{12}'character'{0}
{1}; string EOL=13
{13}"no line end
{0}
{1}; extended instruction=14
{14}movq{0}
{1}; comment directive=15
{0} {9}comment{0} {15}~ A multiple-line
comment directive~{0}
{1};end

View File

@ -0,0 +1,9 @@
lexer.*.asm=asm
keywords.*.asm=add sub xor mov lea call
keywords2.*.asm=fadd
keywords3.*.asm=rsp rax rcx rdx r8 r9 ecx
keywords4.*.asm=db section alignb resq resqdb global extern equ .bss .text .data start comment
keywords5.*.asm=qword rel
keywords6.*.asm=movd movq