2023-08-13 17:29:39 -04:00
|
|
|
((preproc_arg) @injection.content
|
2023-05-03 19:07:59 +09:00
|
|
|
(#set! injection.language "c"))
|
|
|
|
|
|
|
|
|
|
((comment) @injection.content
|
|
|
|
|
(#set! injection.language "comment"))
|
2023-07-27 03:51:13 -04:00
|
|
|
|
2023-08-22 02:10:29 -04:00
|
|
|
((comment) @injection.content
|
|
|
|
|
(#match? @injection.content "/\*!([a-zA-Z]+:)?re2c")
|
|
|
|
|
(#set! injection.language "re2c"))
|
|
|
|
|
|
2023-07-27 03:51:13 -04:00
|
|
|
; TODO: add when asm is added
|
2023-05-03 19:07:59 +09:00
|
|
|
; (gnu_asm_expression assembly_code: (string_literal) @injection.content
|
|
|
|
|
; (#set! injection.language "asm"))
|
|
|
|
|
; (gnu_asm_expression assembly_code: (concatenated_string (string_literal) @injection.content)
|
|
|
|
|
; (#set! injection.language "asm"))
|