Add JS_PUBLIC_API to the list of macro annotations
This commit is contained in:
Родитель
2768f1628b
Коммит
e16b61e4e8
|
@ -2117,7 +2117,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tree-sitter-mozcpp"
|
||||
version = "0.19.3"
|
||||
version = "0.19.4"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"tree-sitter",
|
||||
|
|
|
@ -37,7 +37,7 @@ tree-sitter-python = "0.19.0"
|
|||
tree-sitter-rust = "0.19.0"
|
||||
tree-sitter-preproc = { path = "./tree-sitter-preproc", version = "0.19.0" }
|
||||
tree-sitter-ccomment = { path = "./tree-sitter-ccomment", version = "0.19.0" }
|
||||
tree-sitter-mozcpp = { path = "./tree-sitter-mozcpp", version = "0.19.3" }
|
||||
tree-sitter-mozcpp = { path = "./tree-sitter-mozcpp", version = "0.19.4" }
|
||||
tree-sitter-mozjs = { path = "./tree-sitter-mozjs", version = "0.19.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -515,7 +515,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tree-sitter-mozcpp"
|
||||
version = "0.19.3"
|
||||
version = "0.19.4"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"tree-sitter",
|
||||
|
|
|
@ -18,5 +18,5 @@ tree-sitter-python = "0.19.0"
|
|||
tree-sitter-rust = "0.19.0"
|
||||
tree-sitter-preproc = { path = "../tree-sitter-preproc", version = "0.19.0" }
|
||||
tree-sitter-ccomment = { path = "../tree-sitter-ccomment", version = "0.19.0" }
|
||||
tree-sitter-mozcpp = { path = "../tree-sitter-mozcpp", version = "0.19.3" }
|
||||
tree-sitter-mozcpp = { path = "../tree-sitter-mozcpp", version = "0.19.4" }
|
||||
tree-sitter-mozjs = { path = "../tree-sitter-mozjs", version = "0.19.0" }
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "tree-sitter-mozcpp"
|
||||
description = "Mozcpp grammar for the tree-sitter parsing library"
|
||||
version = "0.19.3"
|
||||
version = "0.19.4"
|
||||
authors = ["Calixte Denizet <cdenizet@mozilla.com>"]
|
||||
license = "MIT"
|
||||
readme = "bindings/rust/README.md"
|
||||
|
|
|
@ -191,6 +191,7 @@ module.exports = grammar(CPP, {
|
|||
'MOZ_TSAN_BLACKLIST',
|
||||
'MOZ_UNSAFE_REF',
|
||||
'MOZ_XPCOM_ABI',
|
||||
'JS_PUBLIC_API',
|
||||
),
|
||||
|
||||
primitive_type: $ => token(choice(
|
||||
|
|
|
@ -11692,6 +11692,10 @@
|
|||
{
|
||||
"type": "STRING",
|
||||
"value": "MOZ_XPCOM_ABI"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "JS_PUBLIC_API"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5406,6 +5406,10 @@
|
|||
"type": "IDB_TRY_UNWRAP",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "JS_PUBLIC_API",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "L\"",
|
||||
"named": false
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче